mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
netaddr: routines to linearize/delinearize.
For putting them in the database. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -26,4 +26,7 @@ char *netaddr_name(const tal_t *ctx, const struct netaddr *a);
|
||||
/* Create a addrinfo (as wanted by io_connect) for this address. */
|
||||
void netaddr_to_addrinfo(struct addrinfo *ai, const struct netaddr *a);
|
||||
|
||||
bool netaddr_from_blob(const void *linear, size_t len, struct netaddr *a);
|
||||
char *netaddr_to_hex(const tal_t *ctx, const struct netaddr *a);
|
||||
|
||||
#endif /* LIGHTNING_DAEMON_NETADDR_H */
|
||||
|
||||
Reference in New Issue
Block a user