aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-13 13:26:13 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-13 13:26:13 +0000
commit332e61ee2a0929ede3725cb58b78154b889bd1ae (patch)
tree0b2786f82e8d1b49d9947bf0c943bd9736e16e10 /src/include/gnunet_namestore_plugin.h
parent35927ed463d637b46ec7f819578dbdf46b44d1f4 (diff)
downloadgnunet-332e61ee2a0929ede3725cb58b78154b889bd1ae.tar.gz
gnunet-332e61ee2a0929ede3725cb58b78154b889bd1ae.zip
-build namestore
Diffstat (limited to 'src/include/gnunet_namestore_plugin.h')
-rw-r--r--src/include/gnunet_namestore_plugin.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/include/gnunet_namestore_plugin.h b/src/include/gnunet_namestore_plugin.h
index 6ac0038ba..9a6a00462 100644
--- a/src/include/gnunet_namestore_plugin.h
+++ b/src/include/gnunet_namestore_plugin.h
@@ -82,7 +82,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
82 * 82 *
83 * @param cls closure (internal context for the plugin) 83 * @param cls closure (internal context for the plugin)
84 * @param block block to cache 84 * @param block block to cache
85 * @return GNUNET_OK on success, else GNUNET_SYSERR 85 * @return #GNUNET_OK on success, else #GNUNET_SYSERR
86 */ 86 */
87 int (*cache_block) (void *cls, 87 int (*cache_block) (void *cls,
88 const struct GNUNET_NAMESTORE_Block *block); 88 const struct GNUNET_NAMESTORE_Block *block);
@@ -96,8 +96,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
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 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 * 'iter' will have been called unless the return value is 'GNUNET_SYSERR'
101 */ 100 */
102 int (*lookup_block) (void *cls, 101 int (*lookup_block) (void *cls,
103 const struct GNUNET_HashCode *query, 102 const struct GNUNET_HashCode *query,
@@ -112,9 +111,9 @@ struct GNUNET_NAMESTORE_PluginFunctions
112 * @param cls closure (internal context for the plugin) 111 * @param cls closure (internal context for the plugin)
113 * @param zone private key of the zone 112 * @param zone private key of the zone
114 * @param label name of the record in the zone 113 * @param label name of the record in the zone
115 * @param rd_count number of entries in 'rd' array, 0 to delete all records 114 * @param rd_count number of entries in @a rd array, 0 to delete all records
116 * @param rd array of records with data to store 115 * @param rd array of records with data to store
117 * @return GNUNET_OK on success, else GNUNET_SYSERR 116 * @return #GNUNET_OK on success, else #GNUNET_SYSERR
118 */ 117 */
119 int (*store_records) (void *cls, 118 int (*store_records) (void *cls,
120 const struct GNUNET_CRYPTO_EccPrivateKey *zone, 119 const struct GNUNET_CRYPTO_EccPrivateKey *zone,
@@ -132,8 +131,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
132 * @param offset offset in the list of all matching records 131 * @param offset offset in the list of all matching records
133 * @param iter function to call with the result 132 * @param iter function to call with the result
134 * @param iter_cls closure for iter 133 * @param iter_cls closure for iter
135 * @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
136 * 'iter' will have been called unless the return value is 'GNUNET_SYSERR'
137 */ 135 */
138 int (*iterate_records) (void *cls, 136 int (*iterate_records) (void *cls,
139 const struct GNUNET_CRYPTO_EccPrivateKey *zone, 137 const struct GNUNET_CRYPTO_EccPrivateKey *zone,
@@ -150,8 +148,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
150 * @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
151 * @param iter function to call with the result 149 * @param iter function to call with the result
152 * @param iter_cls closure for iter 150 * @param iter_cls closure for iter
153 * @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
154 * 'iter' will have been called unless the return value is 'GNUNET_SYSERR'
155 */ 152 */
156 int (*zone_to_name) (void *cls, 153 int (*zone_to_name) (void *cls,
157 const struct GNUNET_CRYPTO_EccPrivateKey *zone, 154 const struct GNUNET_CRYPTO_EccPrivateKey *zone,