GNUnet  0.10.x
Data Structures | Typedefs
Name Store service plugin API

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

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 struct GNUNET_CRYPTO_EcdsaPrivateKey *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 struct GNUNET_CRYPTO_EcdsaPrivateKey *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
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 58 of file gnunet_namestore_plugin.h.