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.h28
1 files changed, 17 insertions, 11 deletions
diff --git a/src/include/gnunet_datastore_plugin.h b/src/include/gnunet_datastore_plugin.h
index 113f6b2f2..c4f31c7ce 100644
--- a/src/include/gnunet_datastore_plugin.h
+++ b/src/include/gnunet_datastore_plugin.h
@@ -19,6 +19,9 @@
19 */ 19 */
20 20
21/** 21/**
22 * @addtogroup fs_l2 File sharing and support services/libraries
23 * @{
24 *
22 * @author Christian Grothoff 25 * @author Christian Grothoff
23 * 26 *
24 * @file 27 * @file
@@ -31,6 +34,7 @@
31#ifndef PLUGIN_DATASTORE_H 34#ifndef PLUGIN_DATASTORE_H
32#define PLUGIN_DATASTORE_H 35#define PLUGIN_DATASTORE_H
33 36
37
34#include "gnunet_block_lib.h" 38#include "gnunet_block_lib.h"
35#include "gnunet_configuration_lib.h" 39#include "gnunet_configuration_lib.h"
36#include "gnunet_datastore_service.h" 40#include "gnunet_datastore_service.h"
@@ -98,17 +102,17 @@ struct GNUNET_DATASTORE_PluginEnvironment
98 * @return #GNUNET_OK to keep the item 102 * @return #GNUNET_OK to keep the item
99 * #GNUNET_NO to delete the item 103 * #GNUNET_NO to delete the item
100 */ 104 */
101typedef int 105typedef enum GNUNET_GenericReturnValue
102(*PluginDatumProcessor) (void *cls, 106(*PluginDatumProcessor)(void *cls,
103 const struct GNUNET_HashCode *key, 107 const struct GNUNET_HashCode *key,
104 uint32_t size, 108 uint32_t size,
105 const void *data, 109 const void *data,
106 enum GNUNET_BLOCK_Type type, 110 enum GNUNET_BLOCK_Type type,
107 uint32_t priority, 111 uint32_t priority,
108 uint32_t anonymity, 112 uint32_t anonymity,
109 uint32_t replication, 113 uint32_t replication,
110 struct GNUNET_TIME_Absolute expiration, 114 struct GNUNET_TIME_Absolute expiration,
111 uint64_t uid); 115 uint64_t uid);
112 116
113 117
114/** 118/**
@@ -377,3 +381,5 @@ struct GNUNET_DATASTORE_PluginFunctions
377#endif 381#endif
378 382
379/** @} */ /* end of group */ 383/** @} */ /* end of group */
384
385/** @} */ /* end of group addition */