aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_mysql.c
diff options
context:
space:
mode:
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 b56e142fb..773a40ba3 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,
1818 1818
1819 1819
1820/** 1820/**
1821 * Select a subset of the items in the datastore and call
1822 * the given iterator for each of them.
1823 *
1824 * @param cls our "struct Plugin*"
1825 * @param type entries of which type should be considered?
1826 * Use 0 for any type.
1827 * @param iter function to call on each matching value;
1828 * will be called once with a NULL value at the end
1829 * @param iter_cls closure for iter
1830 */
1831static void
1832mysql_plugin_iter_all_now (void *cls,
1833 enum GNUNET_BLOCK_Type type,
1834 PluginIterator iter,
1835 void *iter_cls)
1836{
1837 struct Plugin *plugin = cls;
1838 iterateHelper (plugin, 0, GNUNET_YES, 0, iter, iter_cls);
1839}
1840
1841
1842/**
1843 * Drop database. 1821 * Drop database.
1844 */ 1822 */
1845static void 1823static void
@@ -1941,7 +1919,6 @@ libgnunet_plugin_datastore_mysql_init (void *cls)
1941 api->expiration_get = &mysql_plugin_expiration_get; 1919 api->expiration_get = &mysql_plugin_expiration_get;
1942 api->update = &mysql_plugin_update; 1920 api->update = &mysql_plugin_update;
1943 api->iter_zero_anonymity = &mysql_plugin_iter_zero_anonymity; 1921 api->iter_zero_anonymity = &mysql_plugin_iter_zero_anonymity;
1944 api->iter_all_now = &mysql_plugin_iter_all_now;
1945 api->drop = &mysql_plugin_drop; 1922 api->drop = &mysql_plugin_drop;
1946 GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, 1923 GNUNET_log_from (GNUNET_ERROR_TYPE_INFO,
1947 "mysql", _("Mysql database running\n")); 1924 "mysql", _("Mysql database running\n"));