helper functions for handling addresses More...
Go to the source code of this file.
Functions | |
int | GNUNET_HELLO_address_check_option (const struct GNUNET_HELLO_Address *address, enum GNUNET_HELLO_AddressInfo option) |
Check if an address has a local option set. More... | |
size_t | GNUNET_HELLO_address_get_size (const struct GNUNET_HELLO_Address *address) |
Get the size of an address struct. More... | |
struct GNUNET_HELLO_Address * | GNUNET_HELLO_address_allocate (const struct GNUNET_PeerIdentity *peer, const char *transport_name, const void *address, size_t address_length, enum GNUNET_HELLO_AddressInfo local_info) |
Allocate an address struct. More... | |
struct GNUNET_HELLO_Address * | GNUNET_HELLO_address_copy (const struct GNUNET_HELLO_Address *address) |
Copy an address struct. More... | |
int | GNUNET_HELLO_address_cmp (const struct GNUNET_HELLO_Address *a1, const struct GNUNET_HELLO_Address *a2) |
Compare two addresses. More... | |
helper functions for handling addresses
Definition in file address.c.