API that can be used to store naming information on a GNUnet node. More...
Go to the source code of this file.
Macros | |
| #define | GNUNET_NAMECACHE_MAX_VALUE_SIZE (63 * 1024) |
| Maximum size of a value that can be stored in the namecache. | |
Typedefs | |
| typedef void(* | GNUNET_NAMECACHE_ContinuationWithStatus) (void *cls, int32_t success, const char *emsg) |
| Continuation called to notify client about result of the operation. | |
| typedef void(* | GNUNET_NAMECACHE_BlockProcessor) (void *cls, const struct GNUNET_GNSRECORD_Block *block) |
| Process a record that was stored in the namecache. | |
Functions | |
| struct GNUNET_NAMECACHE_Handle * | GNUNET_NAMECACHE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg) |
| Connect to the namecache service. | |
| void | GNUNET_NAMECACHE_disconnect (struct GNUNET_NAMECACHE_Handle *h) |
| Disconnect from the namecache service (and free associated resources). | |
| struct GNUNET_NAMECACHE_QueueEntry * | GNUNET_NAMECACHE_block_cache (struct GNUNET_NAMECACHE_Handle *h, const struct GNUNET_GNSRECORD_Block *block, GNUNET_NAMECACHE_ContinuationWithStatus cont, void *cont_cls) |
| Store an item in the namecache. | |
| struct GNUNET_NAMECACHE_QueueEntry * | GNUNET_NAMECACHE_lookup_block (struct GNUNET_NAMECACHE_Handle *h, const struct GNUNET_HashCode *derived_hash, GNUNET_NAMECACHE_BlockProcessor proc, void *proc_cls) |
| Get a result for a particular key from the namecache. | |
| void | GNUNET_NAMECACHE_cancel (struct GNUNET_NAMECACHE_QueueEntry *qe) |
| Cancel a namecache operation. | |
API that can be used to store naming information on a GNUnet node.
Definition in file gnunet_namecache_service.h.