dns: add failure callback.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-01-22 06:41:48 +10:30
parent d68ae0b612
commit 366f8a5f3f
4 changed files with 63 additions and 29 deletions

View File

@@ -25,11 +25,6 @@ struct peer {
struct log *log;
};
struct io_conn;
struct io_plan *peer_connected_out(struct io_conn *conn,
struct lightningd_state *state,
const char *name, const char *port);
void setup_listeners(struct lightningd_state *state, unsigned int portnum);
#endif /* LIGHTNING_DAEMON_PEER_H */