API of the transport service towards the CORE service (TNG version) More...
#include "gnunet_util_lib.h"Go to the source code of this file.
Macros | |
| #define | GNUNET_TRANSPORT_CORE_VERSION 0x00000000 |
| Version number of the transport API. | |
Typedefs | |
| typedef void *(* | GNUNET_TRANSPORT_NotifyConnect) (void *cls, const struct GNUNET_PeerIdentity *peer, struct GNUNET_MQ_Handle *mq) |
| Function called to notify transport users that another peer connected to us. | |
| typedef void(* | GNUNET_TRANSPORT_NotifyDisconnect) (void *cls, const struct GNUNET_PeerIdentity *peer, void *handler_cls) |
| Function called to notify transport users that another peer disconnected from us. | |
Functions | |
| struct GNUNET_TRANSPORT_CoreHandle * | GNUNET_TRANSPORT_core_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, const struct GNUNET_PeerIdentity *self, const struct GNUNET_MQ_MessageHandler *handlers, void *cls, GNUNET_TRANSPORT_NotifyConnect nc, GNUNET_TRANSPORT_NotifyDisconnect nd) |
| Connect to the transport service. | |
| void | GNUNET_TRANSPORT_core_disconnect (struct GNUNET_TRANSPORT_CoreHandle *handle) |
| Disconnect from the transport service. | |
API of the transport service towards the CORE service (TNG version)
Definition in file gnunet_transport_core_service.h.