You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
430 B
16 lines
430 B
#ifndef LIGHTNING_LIGHTNINGD_PEER_COMMS_H
|
|
#define LIGHTNING_LIGHTNINGD_PEER_COMMS_H
|
|
#include "config.h"
|
|
|
|
#include <ccan/tal/tal.h>
|
|
#include <common/crypto_state.h>
|
|
|
|
/* Things we hand between daemons to talk to peers. */
|
|
struct peer_comms {
|
|
struct crypto_state cs;
|
|
/* If not -1, closed on freeing */
|
|
int peer_fd, gossip_fd;
|
|
};
|
|
|
|
struct peer_comms *new_peer_comms(const tal_t *ctx);
|
|
#endif /* LIGHTNING_LIGHTNINGD_PEER_COMMS_H */
|
|
|