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
485 B
16 lines
485 B
7 years ago
|
#ifndef LIGHTNING_LIGHTNINGD_CONNECT_CONTROL_H
|
||
|
#define LIGHTNING_LIGHTNINGD_CONNECT_CONTROL_H
|
||
|
#include "config.h"
|
||
|
|
||
|
struct lightningd;
|
||
|
struct pubkey;
|
||
|
|
||
|
void connect_succeeded(struct lightningd *ld, const struct pubkey *id);
|
||
|
void connect_failed(struct lightningd *ld, const struct pubkey *id,
|
||
|
const char *error);
|
||
|
|
||
|
/* Gossipd was unable to connect to the peer */
|
||
|
void peer_connection_failed(struct lightningd *ld, const u8 *msg);
|
||
|
|
||
|
#endif /* LIGHTNING_LIGHTNINGD_CONNECT_CONTROL_H */
|