2018-07-24 08:18:58 +02:00
|
|
|
#ifndef LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H
|
|
|
|
#define LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H
|
2018-05-10 01:18:24 +02: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 09:44:22 +01:00
|
|
|
const struct wireaddr_internal *tor_serviceaddr,
|
2018-05-10 01:18:24 +02:00
|
|
|
const char *tor_password,
|
2022-05-17 02:41:01 +02:00
|
|
|
const struct wireaddr *localaddr);
|
2018-05-10 01:18:24 +02:00
|
|
|
|
2019-11-15 09:44:22 +01:00
|
|
|
struct wireaddr *tor_fixed_service(const tal_t *ctx,
|
|
|
|
const struct wireaddr_internal *tor_serviceaddr,
|
|
|
|
const char *tor_password,
|
2021-11-10 01:27:42 +01:00
|
|
|
const char *blob,
|
2019-11-15 09:44:22 +01:00
|
|
|
const struct wireaddr *bind,
|
|
|
|
const u8 index);
|
|
|
|
|
2018-07-24 08:18:58 +02:00
|
|
|
#endif /* LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H */
|