2018-09-27 23:04:19 +02:00
|
|
|
#ifndef LIGHTNING_CONNECTD_PEER_EXCHANGE_INITMSG_H
|
|
|
|
#define LIGHTNING_CONNECTD_PEER_EXCHANGE_INITMSG_H
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
struct crypto_state;
|
|
|
|
struct daemon;
|
|
|
|
struct io_conn;
|
2019-04-08 11:58:32 +02:00
|
|
|
struct node_id;
|
2018-09-27 23:04:19 +02:00
|
|
|
struct wireaddr_internal;
|
|
|
|
|
|
|
|
/* If successful, calls peer_connected() */
|
|
|
|
struct io_plan *peer_exchange_initmsg(struct io_conn *conn,
|
|
|
|
struct daemon *daemon,
|
|
|
|
const struct crypto_state *cs,
|
2019-04-08 11:58:32 +02:00
|
|
|
const struct node_id *id,
|
2018-09-27 23:04:19 +02:00
|
|
|
const struct wireaddr_internal *addr);
|
|
|
|
|
|
|
|
#endif /* LIGHTNING_CONNECTD_PEER_EXCHANGE_INITMSG_H */
|