Core service; the main API for encrypted P2P communications. More...
#include "gnunet_util_lib.h"Go to the source code of this file.
Data Structures | |
| struct | GNUNET_CORE_ServiceVersion |
| A gnunet service version for services above CORE TODO we might want to be compatible with https://semver.org. More... | |
| struct | GNUNET_CORE_ServiceInfo |
| Gnunet service info - identifying compatibility with a range of version of a service communicating over CORE. More... | |
| struct | EphemeralKeyMessage |
| Message transmitted with the signed ephemeral key of a peer. More... | |
| struct | PingMessage |
| We're sending an (encrypted) PING to the other peer to check if it can decrypt. More... | |
| struct | PongMessage |
| Response to a PING. More... | |
Macros | |
| #define | GNUNET_CORE_SVC_INFO_LEN 64 |
| Size of the services info field in the cake handshake TODO. | |
| #define | GNUNET_CORE_VERSION 0x00000001 |
| Version number of GNUnet-core API. | |
| #define | CONG_CRYPTO_ENABLED 0 |
| Enable XChaCha20-Poly1305 crypto https://bugs.gnunet.org/view.php?id=8630. | |
Typedefs | |
| typedef void *(* | GNUNET_CORE_ConnectEventHandler) (void *cls, const struct GNUNET_PeerIdentity *peer, struct GNUNET_MQ_Handle *mq, enum GNUNET_CORE_PeerClass class) |
| Method called whenever a given peer connects. | |
| typedef void(* | GNUNET_CORE_DisconnectEventHandler) (void *cls, const struct GNUNET_PeerIdentity *peer, void *peer_cls) |
| Method called whenever a peer disconnects. | |
| typedef void(* | GNUNET_CORE_StartupCallback) (void *cls, const struct GNUNET_PeerIdentity *my_identity) |
| Function called after GNUNET_CORE_connect has succeeded (or failed for good). | |
| typedef void(* | GNUNET_CORE_MonitorCallback) (void *cls, const struct GNUNET_PeerIdentity *pid, enum GNUNET_CORE_KxState state, struct GNUNET_TIME_Absolute timeout) |
| Function called by the monitor callback whenever a peer's connection status changes. | |
Core service; the main API for encrypted P2P communications.
Definition in file gnunet_core_service.h.