lightningd/connection: rename to lightningd/daemon_conn

To match the structure name.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2017-03-20 07:02:44 +10:30
parent d616dbbd44
commit cf6d25cad6
7 changed files with 9 additions and 9 deletions

View File

@ -39,10 +39,10 @@ LIGHTNINGD_LIB_SRC := \
lightningd/channel.c \
lightningd/channel_config.c \
lightningd/commit_tx.c \
lightningd/connection.c \
lightningd/cryptomsg.c \
lightningd/crypto_sync.c \
lightningd/debug.c \
lightningd/daemon_conn.c \
lightningd/derive_basepoints.c \
lightningd/funding_tx.c \
lightningd/gossip_msg.c \

View File

@ -13,9 +13,9 @@
#include <lightningd/channel.h>
#include <lightningd/channel/gen_channel_wire.h>
#include <lightningd/commit_tx.h>
#include <lightningd/connection.h>
#include <lightningd/crypto_sync.h>
#include <lightningd/cryptomsg.h>
#include <lightningd/daemon_conn.h>
#include <lightningd/debug.h>
#include <lightningd/derive_basepoints.h>
#include <lightningd/key_derive.h>

View File

@ -1,7 +1,7 @@
#include "connection.h"
#include <ccan/fdpass/fdpass.h>
#include <ccan/io/fdpass/fdpass.h>
#include <ccan/take/take.h>
#include <lightningd/daemon_conn.h>
#include <wire/wire_io.h>
#include <wire/wire_sync.h>

View File

@ -1,5 +1,5 @@
#ifndef LIGHTNING_LIGHTNINGD_CONNECTION_H
#define LIGHTNING_LIGHTNINGD_CONNECTION_H
#ifndef LIGHTNING_LIGHTNINGD_DAEMON_CONN_H
#define LIGHTNING_LIGHTNINGD_DAEMON_CONN_H
#include "config.h"
#include <ccan/io/io.h>
@ -70,4 +70,4 @@ struct io_plan *daemon_conn_read_next(struct io_conn *conn,
* daemon_conn_sync_flush - Flush connection by sending all messages now..
*/
bool daemon_conn_sync_flush(struct daemon_conn *dc);
#endif /* LIGHTNING_LIGHTNINGD_CONNECTION_H */
#endif /* LIGHTNING_LIGHTNINGD_DAEMON_CONN_H */

View File

@ -16,8 +16,8 @@
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <lightningd/connection.h>
#include <lightningd/cryptomsg.h>
#include <lightningd/daemon_conn.h>
#include <lightningd/debug.h>
#include <lightningd/gossip/gen_gossip_wire.h>
#include <lightningd/gossip_msg.h>

View File

@ -16,7 +16,7 @@
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <lightningd/connection.h>
#include <lightningd/daemon_conn.h>
#include <lightningd/funding_tx.h>
#include <lightningd/hsm/client.h>
#include <lightningd/hsm/gen_hsm_client_wire.h>

View File

@ -9,7 +9,7 @@
#include <ccan/read_write_all/read_write_all.h>
#include <ccan/take/take.h>
#include <ccan/tal/str/str.h>
#include <lightningd/connection.h>
#include <lightningd/daemon_conn.h>
#include <lightningd/status.h>
#include <stdarg.h>