API to the peerstore service. More...
#include "gnunet_util_lib.h"
Go to the source code of this file.
Data Structures | |
struct | GNUNET_PEERSTORE_Record |
Single PEERSTORE record. More... | |
Macros | |
#define | GNUNET_PEERSTORE_HELLO_KEY "peerstore-peer-hello-uri" |
Key used for storing HELLO in the peerstore. More... | |
#define | GNUNET_PEERSTORE_TRANSPORT_URLADDRESS_KEY "transport-communicator-url" |
Key used for storing addresses in URL format in the peerstore. More... | |
#define | GNUNET_PEERSTORE_TRANSPORT_HELLO_KEY "transport-peer-hello" |
Key used for storing HELLOs in the peerstore. More... | |
#define | GNUNET_PEERSTORE_TRANSPORT_BACKCHANNEL_MONOTIME "transport-backchannel-monotonic-time" |
Key used to store sender's monotonic time from backchannel messages. More... | |
#define | GNUNET_PEERSTORE_TRANSPORT_DVLEARN_MONOTIME "transport-dv-learn-monotonic-time" |
Key used to store sender's monotonic time from DV learn messages. More... | |
#define | GNUNET_PEERSTORE_TRANSPORT_TCP_COMMUNICATOR_HANDSHAKE "transport-tcp-communicator-handshake" |
Key used to store sender's monotonic time from handshake message. More... | |
#define | GNUNET_PEERSTORE_TRANSPORT_TCP_COMMUNICATOR_HANDSHAKE_ACK "transport-tcp-communicator-handshake-ack" |
Key used to store sender's monotonic time from handshake ack message. More... | |
#define | GNUNET_PEERSTORE_TRANSPORT_TCP_COMMUNICATOR_REKEY "transport-tcp-communicator-rekey" |
Key used to store sender's monotonic time from rekey message. More... | |
Typedefs | |
typedef void(* | GNUNET_PEERSTORE_Continuation) (void *cls, int success) |
Continuation called with a status result. More... | |
typedef void(* | GNUNET_PEERSTORE_Processor) (void *cls, const struct GNUNET_PEERSTORE_Record *record, const char *emsg) |
Function called by PEERSTORE for each matching record. More... | |
typedef void(* | GNUNET_PEERSTORE_hello_notify_cb) (void *cls, const struct GNUNET_PeerIdentity *peer, const struct GNUNET_MessageHeader *hello, const char *err_msg) |
Function called by PEERSTORE when notifying a client about a changed hello. More... | |
Enumerations | |
enum | GNUNET_PEERSTORE_StoreOption { GNUNET_PEERSTORE_STOREOPTION_MULTIPLE = 0 , GNUNET_PEERSTORE_STOREOPTION_REPLACE = 1 } |
Options for storing values in PEERSTORE. More... | |
API to the peerstore service.
Definition in file gnunet_peerstore_service.h.