GNUnet 0.22.2
Name Store service plugin API

Plugin API for the namestore database backend. More...

Collaboration diagram for Name Store service plugin API:

Data Structures

struct  GNUNET_NAMESTORE_PluginFunctions
 struct returned by the initialization function of the plugin More...
 

Typedefs

typedef void(* GNUNET_NAMESTORE_RecordIterator) (void *cls, uint64_t serial, const char *editor_hint, const struct GNUNET_CRYPTO_PrivateKey *private_key, const char *label, unsigned int rd_count, const struct GNUNET_GNSRECORD_Data *rd)
 Function called for each matching record. More...
 

Detailed Description

Plugin API for the namestore database backend.

Typedef Documentation

◆ GNUNET_NAMESTORE_RecordIterator

typedef void(* GNUNET_NAMESTORE_RecordIterator) (void *cls, uint64_t serial, const char *editor_hint, const struct GNUNET_CRYPTO_PrivateKey *private_key, const char *label, unsigned int rd_count, const struct GNUNET_GNSRECORD_Data *rd)

Function called for each matching record.

Parameters
clsclosure
serialunique serial number of the record, MUST NOT BE ZERO, and must be monotonically increasing while iterating
editor_hintcontent of the editor field when record was read (may be NULL)
zone_keyprivate key of the zone
labelname that is being mapped (at most 255 characters long)
rd_countnumber of entries in rd array
rdarray of records with data to store

Definition at line 62 of file gnunet_namestore_plugin.h.