Browse Source

lightningd/connection: rename to lightningd/daemon_conn

To match the structure name.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 8 years ago
parent
commit
cf6d25cad6
  1. 2
      lightningd/Makefile
  2. 2
      lightningd/channel/channel.c
  3. 2
      lightningd/daemon_conn.c
  4. 6
      lightningd/daemon_conn.h
  5. 2
      lightningd/gossip/gossip.c
  6. 2
      lightningd/hsm/hsm.c
  7. 2
      lightningd/status.c

2
lightningd/Makefile

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

2
lightningd/channel/channel.c

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

2
lightningd/connection.c → lightningd/daemon_conn.c

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

6
lightningd/connection.h → lightningd/daemon_conn.h

@ -1,5 +1,5 @@
#ifndef LIGHTNING_LIGHTNINGD_CONNECTION_H #ifndef LIGHTNING_LIGHTNINGD_DAEMON_CONN_H
#define LIGHTNING_LIGHTNINGD_CONNECTION_H #define LIGHTNING_LIGHTNINGD_DAEMON_CONN_H
#include "config.h" #include "config.h"
#include <ccan/io/io.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.. * daemon_conn_sync_flush - Flush connection by sending all messages now..
*/ */
bool daemon_conn_sync_flush(struct daemon_conn *dc); bool daemon_conn_sync_flush(struct daemon_conn *dc);
#endif /* LIGHTNING_LIGHTNINGD_CONNECTION_H */ #endif /* LIGHTNING_LIGHTNINGD_DAEMON_CONN_H */

2
lightningd/gossip/gossip.c

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

2
lightningd/hsm/hsm.c

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

2
lightningd/status.c

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

Loading…
Cancel
Save