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 | 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_VERSION 0x00000001 |
Version number of GNUnet-core API. More... | |
#define | CONG_CRYPTO_ENABLED 0 |
Enable XChaCha20-Poly1305 crypto https://bugs.gnunet.org/view.php?id=8630. More... | |
Typedefs | |
typedef void *(* | GNUNET_CORE_ConnectEventHandler) (void *cls, const struct GNUNET_PeerIdentity *peer, struct GNUNET_MQ_Handle *mq) |
Method called whenever a given peer connects. More... | |
typedef void(* | GNUNET_CORE_DisconnectEventHandler) (void *cls, const struct GNUNET_PeerIdentity *peer, void *peer_cls) |
Method called whenever a peer disconnects. More... | |
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). More... | |
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. More... | |
Enumerations | |
enum | GNUNET_CORE_KxState { GNUNET_CORE_KX_STATE_DOWN = 0 , GNUNET_CORE_KX_STATE_KEY_SENT , GNUNET_CORE_KX_STATE_KEY_RECEIVED , GNUNET_CORE_KX_STATE_UP , GNUNET_CORE_KX_STATE_REKEY_SENT , GNUNET_CORE_KX_PEER_DISCONNECT , GNUNET_CORE_KX_ITERATION_FINISHED , GNUNET_CORE_KX_CORE_DISCONNECT } |
State machine for our P2P encryption handshake. More... | |
Core service; the main API for encrypted P2P communications.
Definition in file gnunet_core_service.h.