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;
|
|
|
|
struct reaching;
|
|
|
|
|
|
|
|
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-05-10 01:18:23 +02:00
|
|
|
struct reaching *reach);
|
|
|
|
|
2018-07-24 08:18:58 +02:00
|
|
|
#endif /* LIGHTNING_CONNECTD_TOR_H */
|