mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-09 15:18:09 +01:00
19 lines
536 B
C
19 lines
536 B
C
|
#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;
|
||
|
struct pubkey;
|
||
|
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,
|
||
|
const struct pubkey *id,
|
||
|
const struct wireaddr_internal *addr);
|
||
|
|
||
|
#endif /* LIGHTNING_CONNECTD_PEER_EXCHANGE_INITMSG_H */
|