aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datastore_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_datastore_plugin.h')
-rw-r--r--src/include/gnunet_datastore_plugin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/gnunet_datastore_plugin.h b/src/include/gnunet_datastore_plugin.h
index bbf0ce2aa..efdcf8969 100644
--- a/src/include/gnunet_datastore_plugin.h
+++ b/src/include/gnunet_datastore_plugin.h
@@ -92,7 +92,7 @@ struct GNUNET_DATASTORE_PluginEnvironment
92 * @return GNUNET_OK to keep the item 92 * @return GNUNET_OK to keep the item
93 * GNUNET_NO to delete the item 93 * GNUNET_NO to delete the item
94 */ 94 */
95typedef int (*PluginDatumProcessor) (void *cls, const GNUNET_HashCode * key, 95typedef int (*PluginDatumProcessor) (void *cls, const struct GNUNET_HashCode * key,
96 uint32_t size, const void *data, 96 uint32_t size, const void *data,
97 enum GNUNET_BLOCK_Type type, 97 enum GNUNET_BLOCK_Type type,
98 uint32_t priority, uint32_t anonymity, 98 uint32_t priority, uint32_t anonymity,
@@ -127,7 +127,7 @@ typedef unsigned long long (*PluginEstimateSize) (void *cls);
127 * @return GNUNET_OK on success, 127 * @return GNUNET_OK on success,
128 * GNUNET_SYSERR on failure 128 * GNUNET_SYSERR on failure
129 */ 129 */
130typedef int (*PluginPut) (void *cls, const GNUNET_HashCode * key, uint32_t size, 130typedef int (*PluginPut) (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
131 const void *data, enum GNUNET_BLOCK_Type type, 131 const void *data, enum GNUNET_BLOCK_Type type,
132 uint32_t priority, uint32_t anonymity, 132 uint32_t priority, uint32_t anonymity,
133 uint32_t replication, 133 uint32_t replication,
@@ -142,7 +142,7 @@ typedef int (*PluginPut) (void *cls, const GNUNET_HashCode * key, uint32_t size,
142 * @param count how many values are stored under this key in the datastore 142 * @param count how many values are stored under this key in the datastore
143 */ 143 */
144typedef void (*PluginKeyProcessor) (void *cls, 144typedef void (*PluginKeyProcessor) (void *cls,
145 const GNUNET_HashCode *key, 145 const struct GNUNET_HashCode *key,
146 unsigned int count); 146 unsigned int count);
147 147
148 148
@@ -178,8 +178,8 @@ typedef void (*PluginGetKeys) (void *cls,
178 * @param proc_cls closure for proc 178 * @param proc_cls closure for proc
179 */ 179 */
180typedef void (*PluginGetKey) (void *cls, uint64_t offset, 180typedef void (*PluginGetKey) (void *cls, uint64_t offset,
181 const GNUNET_HashCode * key, 181 const struct GNUNET_HashCode * key,
182 const GNUNET_HashCode * vhash, 182 const struct GNUNET_HashCode * vhash,
183 enum GNUNET_BLOCK_Type type, 183 enum GNUNET_BLOCK_Type type,
184 PluginDatumProcessor proc, void *proc_cls); 184 PluginDatumProcessor proc, void *proc_cls);
185 185