2018-07-24 08:18:58 +02:00
|
|
|
#ifndef LIGHTNING_CONNECTD_TOR_H
|
|
|
|
#define LIGHTNING_CONNECTD_TOR_H
|
2018-05-10 01:18:23 +02:00
|
|
|
#include "config.h"
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
2018-05-10 01:18:24 +02:00
|
|
|
struct addrinfo;
|
2018-05-10 01:18:23 +02:00
|
|
|
struct wireaddr;
|
|
|
|
struct io_conn;
|
2018-09-27 23:06:19 +02:00
|
|
|
struct connecting;
|
2018-05-10 01:18:23 +02:00
|
|
|
|
|
|
|
struct io_plan *io_tor_connect(struct io_conn *conn,
|
2018-05-10 01:18:24 +02:00
|
|
|
const struct addrinfo *tor_proxyaddr,
|
2018-05-10 05:02:03 +02:00
|
|
|
const char *host, u16 port,
|
2018-09-27 23:06:19 +02:00
|
|
|
struct connecting *connect);
|
2018-05-10 01:18:23 +02:00
|
|
|
|
2018-07-24 08:18:58 +02:00
|
|
|
#endif /* LIGHTNING_CONNECTD_TOR_H */
|