From 70ec14559f335b5d433fb39ebefcbefdb659194a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 4 Apr 2011 16:33:35 +0000 Subject: removing dead API calls --- src/datastore/plugin_datastore_postgres.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'src/datastore/plugin_datastore_postgres.c') diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index cdd8e405e7..1ff56da315 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c @@ -1262,31 +1262,6 @@ postgres_plugin_iter_zero_anonymity (void *cls, } -/** - * Select a subset of the items in the datastore and call - * the given iterator for each of them. - * - * @param cls our "struct Plugin*" - * @param type entries of which type should be considered? - * Use 0 for any type. - * @param iter function to call on each matching value; - * will be called once with a NULL value at the end - * @param iter_cls closure for iter - */ -static void -postgres_plugin_iter_all_now (void *cls, - enum GNUNET_BLOCK_Type type, - PluginIterator iter, - void *iter_cls) -{ - struct Plugin *plugin = cls; - - postgres_iterate (plugin, - 0, GNUNET_YES, 0, - iter, iter_cls); -} - - /** * Drop database. */ @@ -1329,7 +1304,6 @@ libgnunet_plugin_datastore_postgres_init (void *cls) api->expiration_get = &postgres_plugin_expiration_get; api->update = &postgres_plugin_update; api->iter_zero_anonymity = &postgres_plugin_iter_zero_anonymity; - api->iter_all_now = &postgres_plugin_iter_all_now; api->drop = &postgres_plugin_drop; GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, "datastore-postgres", -- cgit v1.2.3-70-g09d2