mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
4de2b362f5
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>
17 lines
395 B
C
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 */
|