core-lightning/connectd/tor.h
Rusty Russell 4de2b362f5 connectd: rename 'struct reaching' to 'struct connecting'.
It reads better, and it's accurate: it only exists while we're trying to
connect to a peer.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-09-28 04:14:28 +00:00

17 lines
395 B
C

#ifndef LIGHTNING_CONNECTD_TOR_H
#define LIGHTNING_CONNECTD_TOR_H
#include "config.h"
#include <stdbool.h>
struct addrinfo;
struct wireaddr;
struct io_conn;
struct connecting;
struct io_plan *io_tor_connect(struct io_conn *conn,
const struct addrinfo *tor_proxyaddr,
const char *host, u16 port,
struct connecting *connect);
#endif /* LIGHTNING_CONNECTD_TOR_H */