aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/gnunet_namestore_service.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h
index 4b97a9eb2..0278c4a49 100644
--- a/src/include/gnunet_namestore_service.h
+++ b/src/include/gnunet_namestore_service.h
@@ -307,6 +307,27 @@ GNUNET_NAMESTORE_lookup_record (struct GNUNET_NAMESTORE_Handle *h,
307 307
308 308
309/** 309/**
310 * Look for an existing PKEY delegation record for a given public key.
311 * Returns at most one result to the processor.
312 *
313 * @param h handle to the namestore
314 * @param zone hash of public key of the zone to look up in, never NULL
315 * @param value_zone hash of the public key of the target zone (value), never NULL
316 * @param proc function to call on the matching records, or with
317 * NULL (rd_count == 0) if there are no matching records
318 * @param proc_cls closure for proc
319 * @return a handle that can be used to
320 * cancel
321 */
322struct GNUNET_NAMESTORE_QueueEntry *
323GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h,
324 const GNUNET_HashCode *zone,
325 const GNUNET_HashCode *value_zone,
326 GNUNET_NAMESTORE_RecordProcessor proc, void *proc_cls);
327
328
329
330/**
310 * Starts a new zone iteration (used to periodically PUT all of our 331 * Starts a new zone iteration (used to periodically PUT all of our
311 * records into our DHT). This MUST lock the GNUNET_NAMESTORE_Handle 332 * records into our DHT). This MUST lock the GNUNET_NAMESTORE_Handle
312 * for any other calls than GNUNET_NAMESTORE_zone_iterator_next and 333 * for any other calls than GNUNET_NAMESTORE_zone_iterator_next and