aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_plugin.h
diff options
context:
space:
mode:
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)