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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/gnunet_namestore_plugin.h b/src/include/gnunet_namestore_plugin.h
index 32d13e200..4d4821bcb 100644
--- a/src/include/gnunet_namestore_plugin.h
+++ b/src/include/gnunet_namestore_plugin.h
@@ -83,7 +83,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
83 * @param block block to cache 83 * @param block block to cache
84 * @return #GNUNET_OK on success, else #GNUNET_SYSERR 84 * @return #GNUNET_OK on success, else #GNUNET_SYSERR
85 */ 85 */
86 int (*cache_block) (void *cls, 86 int (*cache_block) (void *cls,
87 const struct GNUNET_NAMESTORE_Block *block); 87 const struct GNUNET_NAMESTORE_Block *block);
88 88
89 89
@@ -97,7 +97,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
97 * @param iter_cls closure for @a iter 97 * @param iter_cls closure for @a iter
98 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error 98 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error
99 */ 99 */
100 int (*lookup_block) (void *cls, 100 int (*lookup_block) (void *cls,
101 const struct GNUNET_HashCode *query, 101 const struct GNUNET_HashCode *query,
102 GNUNET_NAMESTORE_BlockCallback iter, void *iter_cls); 102 GNUNET_NAMESTORE_BlockCallback iter, void *iter_cls);
103 103
@@ -114,7 +114,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
114 * @param rd array of records with data to store 114 * @param rd array of records with data to store
115 * @return #GNUNET_OK on success, else #GNUNET_SYSERR 115 * @return #GNUNET_OK on success, else #GNUNET_SYSERR
116 */ 116 */
117 int (*store_records) (void *cls, 117 int (*store_records) (void *cls,
118 const struct GNUNET_CRYPTO_EccPrivateKey *zone, 118 const struct GNUNET_CRYPTO_EccPrivateKey *zone,
119 const char *label, 119 const char *label,
120 unsigned int rd_count, 120 unsigned int rd_count,
@@ -132,7 +132,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
132 * @param iter_cls closure for @a iter 132 * @param iter_cls closure for @a iter
133 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error 133 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error
134 */ 134 */
135 int (*iterate_records) (void *cls, 135 int (*iterate_records) (void *cls,
136 const struct GNUNET_CRYPTO_EccPrivateKey *zone, 136 const struct GNUNET_CRYPTO_EccPrivateKey *zone,
137 uint64_t offset, 137 uint64_t offset,
138 GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls); 138 GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls);
@@ -149,7 +149,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
149 * @param iter_cls closure for @a iter 149 * @param iter_cls closure for @a iter
150 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error 150 * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error
151 */ 151 */
152 int (*zone_to_name) (void *cls, 152 int (*zone_to_name) (void *cls,
153 const struct GNUNET_CRYPTO_EccPrivateKey *zone, 153 const struct GNUNET_CRYPTO_EccPrivateKey *zone,
154 const struct GNUNET_CRYPTO_EccPublicSignKey *value_zone, 154 const struct GNUNET_CRYPTO_EccPublicSignKey *value_zone,
155 GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls); 155 GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls);