aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_mysql.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-04-04 16:33:35 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-04-04 16:33:35 +0000
commitbdc01fd155a622cd45cc9894bba5cf3ea0b9a5ed (patch)
treef37ac3df0333ebe310cccbeaa9ab1d82ebed2329 /src/datastore/plugin_datastore_mysql.c
parenta77380767bb43318e35cbe121cac6a17cc5edd11 (diff)
removing dead API calls
git-svn-id: https://gnunet.org/svn/gnunet@14850 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_mysql.c')
-rw-r--r--src/datastore/plugin_datastore_mysql.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c
index b56e142fb1..773a40ba3f 100644
--- a/src/datastore/plugin_datastore_mysql.c
+++ b/src/datastore/plugin_datastore_mysql.c
@@ -1818,28 +1818,6 @@ mysql_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
-mysql_plugin_iter_all_now (void *cls,
- enum GNUNET_BLOCK_Type type,
- PluginIterator iter,
- void *iter_cls)
-{
- struct Plugin *plugin = cls;
- iterateHelper (plugin, 0, GNUNET_YES, 0, iter, iter_cls);
-}
-
-
-/**
* Drop database.
*/
static void
@@ -1941,7 +1919,6 @@ libgnunet_plugin_datastore_mysql_init (void *cls)
api->expiration_get = &mysql_plugin_expiration_get;
api->update = &mysql_plugin_update;
api->iter_zero_anonymity = &mysql_plugin_iter_zero_anonymity;
- api->iter_all_now = &mysql_plugin_iter_all_now;
api->drop = &mysql_plugin_drop;
GNUNET_log_from (GNUNET_ERROR_TYPE_INFO,
"mysql", _("Mysql database running\n"));