aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-05 11:23:06 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-05 11:23:06 +0000
commit3066c800a6d6b6e16d6c174519025608b6f7f250 (patch)
treef6b216578bf89c7474b40c7566c267dabcdc2f0d /src/include/gnunet_namestore_plugin.h
parente097895ea54b316c3ede8640f6dd49f864313a2d (diff)
downloadgnunet-3066c800a6d6b6e16d6c174519025608b6f7f250.tar.gz
gnunet-3066c800a6d6b6e16d6c174519025608b6f7f250.zip
-allow passing NULL for zone to iterate over all of our zones
Diffstat (limited to 'src/include/gnunet_namestore_plugin.h')
-rw-r--r--src/include/gnunet_namestore_plugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_namestore_plugin.h b/src/include/gnunet_namestore_plugin.h
index 5ab374ed0..c40d95451 100644
--- a/src/include/gnunet_namestore_plugin.h
+++ b/src/include/gnunet_namestore_plugin.h
@@ -95,7 +95,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
95 * @param cls closure (internal context for the plugin) 95 * @param cls closure (internal context for the plugin)
96 * @param query hash of public key derived from the zone and the label 96 * @param query hash of public key derived from the zone and the label
97 * @param iter function to call with the result 97 * @param iter function to call with the result
98 * @param iter_cls closure for iter 98 * @param iter_cls closure for @a iter
99 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error 99 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error
100 */ 100 */
101 int (*lookup_block) (void *cls, 101 int (*lookup_block) (void *cls,
@@ -127,10 +127,10 @@ struct GNUNET_NAMESTORE_PluginFunctions
127 * datastore. Will return at most one result to the iterator. 127 * datastore. Will return at most one result to the iterator.
128 * 128 *
129 * @param cls closure (internal context for the plugin) 129 * @param cls closure (internal context for the plugin)
130 * @param zone private key of the zone 130 * @param zone private key of the zone, NULL for all zones
131 * @param offset offset in the list of all matching records 131 * @param offset offset in the list of all matching records
132 * @param iter function to call with the result 132 * @param iter function to call with the result
133 * @param iter_cls closure for iter 133 * @param iter_cls closure for @a iter
134 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error 134 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error
135 */ 135 */
136 int (*iterate_records) (void *cls, 136 int (*iterate_records) (void *cls,
@@ -147,7 +147,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
147 * @param zone private key of the zone to look up in, never NULL 147 * @param zone private key of the zone to look up in, never NULL
148 * @param value_zone public key of the target zone (value), never NULL 148 * @param value_zone public key of the target zone (value), never NULL
149 * @param iter function to call with the result 149 * @param iter function to call with the result
150 * @param iter_cls closure for iter 150 * @param iter_cls closure for @a iter
151 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error 151 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error
152 */ 152 */
153 int (*zone_to_name) (void *cls, 153 int (*zone_to_name) (void *cls,