gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r20250 - gnunet/src/include
Date: Sun, 4 Mar 2012 22:26:20 +0100

Author: grothoff
Date: 2012-03-04 22:26:20 +0100 (Sun, 04 Mar 2012)
New Revision: 20250

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

Modified: gnunet/src/include/gnunet_namestore_plugin.h
===================================================================
--- gnunet/src/include/gnunet_namestore_plugin.h        2012-03-04 21:08:12 UTC 
(rev 20249)
+++ gnunet/src/include/gnunet_namestore_plugin.h        2012-03-04 21:26:20 UTC 
(rev 20250)
@@ -129,6 +129,23 @@
 
 
   /**
+   * Look for an existing PKEY delegation record for a given public key.
+   * Returns at most one result to the iterator.
+   *
+   * @param cls closure (internal context for the plugin)
+   * @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 iter function to call with the result
+   * @param iter_cls closure for iter
+   * @return GNUNET_OK on success, GNUNET_NO if there were no results, 
GNUNET_SYSERR on error
+   */
+  int (*zone_to_name) (void *cls, 
+                      const GNUNET_HashCode *zone,
+                      const GNUNET_HashCode *value_zone,
+                      GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls);
+
+
+  /**
    * Delete an entire zone (all records).  Not used in normal operation.
    *
    * @param cls closure (internal context for the plugin)




reply via email to

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