API of the dummy core underlay that uses unix domain sockets. More...
#include <sys/socket.h>
#include <stdint.h>
#include "gnunet_util_lib.h"
#include "gnunet_testing_lib.h"
Go to the source code of this file.
Macros | |
#define | GNUNET_CORE_UNDERLAY_DUMMY_VERSION 0x00000000 |
Version number of the core underlay dummy. More... | |
Typedefs | |
typedef void *(* | GNUNET_CORE_UNDERLAY_DUMMY_NotifyConnect) (void *cls, uint32_t num_addresses, const char *addresses[static num_addresses], struct GNUNET_MQ_Handle *mq, const struct GNUNET_PeerIdentity *peer_id) |
Function called to notify core underlay dummy users that another peer connected to us. More... | |
typedef void(* | GNUNET_CORE_UNDERLAY_DUMMY_NotifyDisconnect) (void *cls, void *handler_cls) |
Function called to notify core underlay dummy users that another peer disconnected from us. More... | |
typedef void(* | GNUNET_CORE_UNDERLAY_DUMMY_NotifyAddressChange) (void *cls, uint32_t num_addresses, const char *addresses[static num_addresses]) |
Function called to notify core of the now available addresses. More... | |
Functions | |
struct GNUNET_CORE_UNDERLAY_DUMMY_Handle * | GNUNET_CORE_UNDERLAY_DUMMY_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, const struct GNUNET_MQ_MessageHandler *handlers, void *cls, GNUNET_CORE_UNDERLAY_DUMMY_NotifyConnect nc, GNUNET_CORE_UNDERLAY_DUMMY_NotifyDisconnect nd, GNUNET_CORE_UNDERLAY_DUMMY_NotifyAddressChange na) |
Connect to the core underlay dummy service. More... | |
void | GNUNET_CORE_UNDERLAY_DUMMY_disconnect (struct GNUNET_CORE_UNDERLAY_DUMMY_Handle *handle) |
Disconnect from the core underlay dummy service. More... | |
API of the dummy core underlay that uses unix domain sockets.
Definition in file gnunet_core_underlay_dummy.h.