aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-04 21:26:20 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-04 21:26:20 +0000
commitdcd22c21e15048d672d4a0d423da24df2e51fd7d (patch)
tree096b29ae851525c8f0e1578d0101d8f195bcde79 /src/include/gnunet_namestore_plugin.h
parentdfc16bd612b078a8061ecd01fc22126ea78bcb8a (diff)
downloadgnunet-dcd22c21e15048d672d4a0d423da24df2e51fd7d.tar.gz
gnunet-dcd22c21e15048d672d4a0d423da24df2e51fd7d.zip
-zone to name --- API mentioned in #2194
Diffstat (limited to 'src/include/gnunet_namestore_plugin.h')
-rw-r--r--src/include/gnunet_namestore_plugin.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/gnunet_namestore_plugin.h b/src/include/gnunet_namestore_plugin.h
index bf43805e4..9a1d54774 100644
--- a/src/include/gnunet_namestore_plugin.h
+++ b/src/include/gnunet_namestore_plugin.h
@@ -129,6 +129,23 @@ struct GNUNET_NAMESTORE_PluginFunctions
129 129
130 130
131 /** 131 /**
132 * Look for an existing PKEY delegation record for a given public key.
133 * Returns at most one result to the iterator.
134 *
135 * @param cls closure (internal context for the plugin)
136 * @param zone hash of public key of the zone to look up in, never NULL
137 * @param value_zone hash of the public key of the target zone (value), never NULL
138 * @param iter function to call with the result
139 * @param iter_cls closure for iter
140 * @return GNUNET_OK on success, GNUNET_NO if there were no results, GNUNET_SYSERR on error
141 */
142 int (*zone_to_name) (void *cls,
143 const GNUNET_HashCode *zone,
144 const GNUNET_HashCode *value_zone,
145 GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls);
146
147
148 /**
132 * Delete an entire zone (all records). Not used in normal operation. 149 * Delete an entire zone (all records). Not used in normal operation.
133 * 150 *
134 * @param cls closure (internal context for the plugin) 151 * @param cls closure (internal context for the plugin)