diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-11-22 15:38:22 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-11-22 15:38:22 +0100 |
commit | bf175e5d2785033528128909457e382cb1929165 (patch) | |
tree | 0c0823729e268e023c86a184b4b974c47604ea42 /src/include | |
parent | 5ffa64ed1a5967b363475257fe248c04a72aa28a (diff) | |
download | gnunet-bf175e5d2785033528128909457e382cb1929165.tar.gz gnunet-bf175e5d2785033528128909457e382cb1929165.zip |
modernize datastore postgres implementation
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_datastore_plugin.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/gnunet_datastore_plugin.h b/src/include/gnunet_datastore_plugin.h index 3de08b788..4d1a7ff67 100644 --- a/src/include/gnunet_datastore_plugin.h +++ b/src/include/gnunet_datastore_plugin.h | |||
@@ -101,17 +101,17 @@ struct GNUNET_DATASTORE_PluginEnvironment | |||
101 | * @return #GNUNET_OK to keep the item | 101 | * @return #GNUNET_OK to keep the item |
102 | * #GNUNET_NO to delete the item | 102 | * #GNUNET_NO to delete the item |
103 | */ | 103 | */ |
104 | typedef int | 104 | typedef enum GNUNET_GenericReturnValue |
105 | (*PluginDatumProcessor) (void *cls, | 105 | (*PluginDatumProcessor)(void *cls, |
106 | const struct GNUNET_HashCode *key, | 106 | const struct GNUNET_HashCode *key, |
107 | uint32_t size, | 107 | uint32_t size, |
108 | const void *data, | 108 | const void *data, |
109 | enum GNUNET_BLOCK_Type type, | 109 | enum GNUNET_BLOCK_Type type, |
110 | uint32_t priority, | 110 | uint32_t priority, |
111 | uint32_t anonymity, | 111 | uint32_t anonymity, |
112 | uint32_t replication, | 112 | uint32_t replication, |
113 | struct GNUNET_TIME_Absolute expiration, | 113 | struct GNUNET_TIME_Absolute expiration, |
114 | uint64_t uid); | 114 | uint64_t uid); |
115 | 115 | ||
116 | 116 | ||
117 | /** | 117 | /** |