1 #ifndef LIGHTNING_CONNECTD_PEER_EXCHANGE_INITMSG_H
2 #define LIGHTNING_CONNECTD_PEER_EXCHANGE_INITMSG_H
3 #include "config.h"
4 #include <ccan/short_types/short_types.h>
5 
6 struct crypto_state;
7 struct daemon;
8 struct io_conn;
9 struct node_id;
10 struct wireaddr_internal;
11 
12 /* If successful, calls peer_connected() */
13 struct io_plan *peer_exchange_initmsg(struct io_conn *conn,
14 				      struct daemon *daemon,
15 				      const struct feature_set *our_features,
16 				      const struct crypto_state *cs,
17 				      const struct node_id *id,
18 				      const struct wireaddr_internal *addr,
19 				      bool incoming);
20 
21 #endif /* LIGHTNING_CONNECTD_PEER_EXCHANGE_INITMSG_H */
22