API of the services underlying core (transport or libp2p) More...
Go to the source code of this file.
Macros | |
#define | GNUNET_CORE_UNDERLAY_VERSION 0x00000000 |
Version number of the core underlay API. | |
Typedefs | |
typedef void *(* | GNUNET_CORE_UNDERLAY_NotifyConnect) (void *cls, uint32_t num_addresses;const char *addresses[static num_addresses], struct GNUNET_MQ_Handle *mq) |
Function called to notify core underlay users that another peer connected to us. | |
typedef void(* | GNUNET_CORE_UNDERLAY_NotifyDisconnect) (void *cls, void *handler_cls) |
Function called to notify core underlay users that another peer disconnected from us. | |
typedef void(* | GNUNET_CORE_UNDERLAY_NotifyAddressChange) (void *cls, struct GNUNET_HashCode network_location_hash, struct uint64_t network_generation_id) |
Function called to notify core of the now available addresses. | |
Functions | |
struct GNUNET_CORE_UNDERLAY_Handle * | GNUNET_CORE_UNDERLAY_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, const struct GNUNET_MQ_MessageHandler *handlers, void *cls, GNUNET_CORE_UNDERLAY_NotifyConnect nc, GNUNET_CORE_UNDERLAY_NotifyDisconnect nd, GNUNET_CORE_UNDERLAY_NotifyAddressChange na) |
Connect to the core underlay service. | |
void | GNUNET_CORE_UNDERLAY_disconnect (struct GNUNET_CORE_UNDERLAY_Handle *handle) |
Disconnect from the core underlay service. | |
API of the services underlying core (transport or libp2p)
Definition in file gnunet_core_underlay.h.