2018-05-10 00:18:23 +01:00
|
|
|
#ifndef LIGHTNING_GOSSIPD_TOR_H
|
|
|
|
#define LIGHTNING_GOSSIPD_TOR_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
2018-05-10 00:18:24 +01:00
|
|
|
struct addrinfo;
|
2018-05-10 00:18:23 +01:00
|
|
|
struct wireaddr;
|
|
|
|
struct io_conn;
|
|
|
|
struct reaching;
|
|
|
|
|
|
|
|
struct io_plan *io_tor_connect(struct io_conn *conn,
|
2018-05-10 00:18:24 +01:00
|
|
|
const struct addrinfo *tor_proxyaddr,
|
2018-05-10 04:02:03 +01:00
|
|
|
const char *host, u16 port,
|
2018-05-10 00:18:23 +01:00
|
|
|
struct reaching *reach);
|
|
|
|
|
|
|
|
#endif /* LIGHTNING_GOSSIPD_TOR_H */
|