mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
b2c762969c
blob[] is really a string from the commandline; leave it as a char. And parsing is much simpler than this code makes it seem! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
27 lines
793 B
C
27 lines
793 B
C
#ifndef LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H
|
|
#define LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H
|
|
#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,
|
|
const struct wireaddr_internal *tor_serviceaddr,
|
|
const char *tor_password,
|
|
const struct wireaddr_internal *bindings,
|
|
const bool use_v3_autotor);
|
|
|
|
struct wireaddr *tor_fixed_service(const tal_t *ctx,
|
|
const struct wireaddr_internal *tor_serviceaddr,
|
|
const char *tor_password,
|
|
const char *blob,
|
|
const struct wireaddr *bind,
|
|
const u8 index);
|
|
|
|
const struct wireaddr *
|
|
find_local_address(const struct wireaddr_internal *bindings);
|
|
|
|
|
|
#endif /* LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H */
|