diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-04-04 16:33:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-04-04 16:33:35 +0000 |
commit | 70ec14559f335b5d433fb39ebefcbefdb659194a (patch) | |
tree | f37ac3df0333ebe310cccbeaa9ab1d82ebed2329 /src/datastore/plugin_datastore_postgres.c | |
parent | ba37451c0580423a829e30bf8567d23a4b8bef09 (diff) |
removing dead API calls
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 cdd8e405e7..1ff56da315 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, /** - * 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. */ static void @@ -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", |