mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
78cd25d620
In future it will have TOR support, so the name will be awkward. We collect the to/fromwire functions in common/wireaddr.c, and the parsing functions in lightningd/netaddress.c. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 lines
332 B
C
13 lines
332 B
C
#ifndef LIGHTNING_LIGHTNINGD_NETADDRESS_H
|
|
#define LIGHTNING_LIGHTNINGD_NETADDRESS_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
|
|
struct lightningd;
|
|
|
|
void guess_addresses(struct lightningd *ld);
|
|
|
|
bool parse_wireaddr(const char *arg, struct wireaddr *addr, u16 port);
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_NETADDRESS_H */
|