2018-07-24 07:18:58 +01:00
|
|
|
#ifndef LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H
|
|
|
|
#define LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H
|
2018-05-10 00:18:24 +01:00
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/short_types/short_types.h>
|
|
|
|
#include <ccan/tal/tal.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
struct wireaddr *tor_autoservice(const tal_t *ctx,
|
2019-11-15 08:44:22 +00:00
|
|
|
const struct wireaddr_internal *tor_serviceaddr,
|
2018-05-10 00:18:24 +01:00
|
|
|
const char *tor_password,
|
2022-05-17 01:41:01 +01:00
|
|
|
const struct wireaddr *localaddr);
|
2018-05-10 00:18:24 +01:00
|
|
|
|
2019-11-15 08:44:22 +00:00
|
|
|
struct wireaddr *tor_fixed_service(const tal_t *ctx,
|
|
|
|
const struct wireaddr_internal *tor_serviceaddr,
|
|
|
|
const char *tor_password,
|
2021-11-10 00:27:42 +00:00
|
|
|
const char *blob,
|
2019-11-15 08:44:22 +00:00
|
|
|
const struct wireaddr *bind,
|
|
|
|
const u8 index);
|
|
|
|
|
2018-07-24 07:18:58 +01:00
|
|
|
#endif /* LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H */
|