You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
460 B
15 lines
460 B
7 years ago
|
#ifndef LIGHTNING_CONNECTD_NETADDRESS_H
|
||
|
#define LIGHTNING_CONNECTD_NETADDRESS_H
|
||
7 years ago
|
#include "config.h"
|
||
|
#include <ccan/short_types/short_types.h>
|
||
7 years ago
|
#include <common/wireaddr.h>
|
||
7 years ago
|
|
||
7 years ago
|
/* Address is a wildcard: try to guess what it looks like to outside world */
|
||
|
bool guess_address(struct wireaddr *wireaddr);
|
||
|
|
||
|
/* Is this address public? */
|
||
7 years ago
|
bool address_routable(const struct wireaddr *wireaddr,
|
||
|
bool allow_localhost);
|
||
7 years ago
|
|
||
7 years ago
|
#endif /* LIGHTNING_CONNECTD_NETADDRESS_H */
|