doxy
[oweals/gnunet.git] / src / include / gnunet_datacache_plugin.h
index fbfcdf1e8bdf9f37d53563b1ac130ce8822f626a..18268efd78b81ae4daf56170b85d87df651cbd0b 100644 (file)
@@ -46,7 +46,7 @@ extern "C"
  * @param size number of bytes that were made available
  */
 typedef void (*GNUNET_DATACACHE_DeleteNotifyCallback) (void *cls,
-                                                       const GNUNET_HashCode *
+                                                       const struct GNUNET_HashCode *
                                                        key, size_t size);
 
 
@@ -109,7 +109,7 @@ struct GNUNET_DATACACHE_PluginFunctions
    * @param discard_time when to discard the value in any case
    * @return 0 on error, number of bytes used otherwise
    */
-       size_t (*put) (void *cls, const GNUNET_HashCode * key, size_t size,
+       size_t (*put) (void *cls, const struct GNUNET_HashCode * key, size_t size,
                       const char *data, enum GNUNET_BLOCK_Type type,
                       struct GNUNET_TIME_Absolute discard_time);
 
@@ -125,7 +125,7 @@ struct GNUNET_DATACACHE_PluginFunctions
    * @param iter_cls closure for iter
    * @return the number of results found
    */
-  unsigned int (*get) (void *cls, const GNUNET_HashCode * key,
+  unsigned int (*get) (void *cls, const struct GNUNET_HashCode * key,
                        enum GNUNET_BLOCK_Type type,
                        GNUNET_DATACACHE_Iterator iter, void *iter_cls);