gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r20251 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r20251 - gnunet/src/include
Date: Sun, 4 Mar 2012 22:51:00 +0100

Author: grothoff
Date: 2012-03-04 22:51:00 +0100 (Sun, 04 Mar 2012)
New Revision: 20251

Modified:
   gnunet/src/include/gnunet_namestore_service.h
Log:
-zone to name --- API mentioned in #2194

Modified: gnunet/src/include/gnunet_namestore_service.h
===================================================================
--- gnunet/src/include/gnunet_namestore_service.h       2012-03-04 21:26:20 UTC 
(rev 20250)
+++ gnunet/src/include/gnunet_namestore_service.h       2012-03-04 21:51:00 UTC 
(rev 20251)
@@ -307,6 +307,27 @@
 
 
 /**
+ * Look for an existing PKEY delegation record for a given public key.
+ * Returns at most one result to the processor.
+ *
+ * @param h handle to the namestore
+ * @param zone hash of public key of the zone to look up in, never NULL
+ * @param value_zone hash of the public key of the target zone (value), never 
NULL
+ * @param proc function to call on the matching records, or with
+ *        NULL (rd_count == 0) if there are no matching records
+ * @param proc_cls closure for proc
+ * @return a handle that can be used to
+ *         cancel
+ */
+struct GNUNET_NAMESTORE_QueueEntry *
+GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, 
+                              const GNUNET_HashCode *zone,
+                              const GNUNET_HashCode *value_zone,
+                              GNUNET_NAMESTORE_RecordProcessor proc, void 
*proc_cls);
+
+
+
+/**
  * Starts a new zone iteration (used to periodically PUT all of our
  * records into our DHT). This MUST lock the GNUNET_NAMESTORE_Handle
  * for any other calls than GNUNET_NAMESTORE_zone_iterator_next and




reply via email to

[Prev in Thread] Current Thread [Next in Thread]