diff options
Diffstat (limited to 'src/datastore/plugin_datastore_postgres.c')
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index cdd8e405e..1ff56da31 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c | |||
@@ -1263,31 +1263,6 @@ postgres_plugin_iter_zero_anonymity (void *cls, | |||
1263 | 1263 | ||
1264 | 1264 | ||
1265 | /** | 1265 | /** |
1266 | * Select a subset of the items in the datastore and call | ||
1267 | * the given iterator for each of them. | ||
1268 | * | ||
1269 | * @param cls our "struct Plugin*" | ||
1270 | * @param type entries of which type should be considered? | ||
1271 | * Use 0 for any type. | ||
1272 | * @param iter function to call on each matching value; | ||
1273 | * will be called once with a NULL value at the end | ||
1274 | * @param iter_cls closure for iter | ||
1275 | */ | ||
1276 | static void | ||
1277 | postgres_plugin_iter_all_now (void *cls, | ||
1278 | enum GNUNET_BLOCK_Type type, | ||
1279 | PluginIterator iter, | ||
1280 | void *iter_cls) | ||
1281 | { | ||
1282 | struct Plugin *plugin = cls; | ||
1283 | |||
1284 | postgres_iterate (plugin, | ||
1285 | 0, GNUNET_YES, 0, | ||
1286 | iter, iter_cls); | ||
1287 | } | ||
1288 | |||
1289 | |||
1290 | /** | ||
1291 | * Drop database. | 1266 | * Drop database. |
1292 | */ | 1267 | */ |
1293 | static void | 1268 | static void |
@@ -1329,7 +1304,6 @@ libgnunet_plugin_datastore_postgres_init (void *cls) | |||
1329 | api->expiration_get = &postgres_plugin_expiration_get; | 1304 | api->expiration_get = &postgres_plugin_expiration_get; |
1330 | api->update = &postgres_plugin_update; | 1305 | api->update = &postgres_plugin_update; |
1331 | api->iter_zero_anonymity = &postgres_plugin_iter_zero_anonymity; | 1306 | api->iter_zero_anonymity = &postgres_plugin_iter_zero_anonymity; |
1332 | api->iter_all_now = &postgres_plugin_iter_all_now; | ||
1333 | api->drop = &postgres_plugin_drop; | 1307 | api->drop = &postgres_plugin_drop; |
1334 | GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, | 1308 | GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, |
1335 | "datastore-postgres", | 1309 | "datastore-postgres", |