aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/plugin_datastore_template.c')
-rw-r--r--src/datastore/plugin_datastore_template.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/datastore/plugin_datastore_template.c b/src/datastore/plugin_datastore_template.c
index 41d92a117..40b191538 100644
--- a/src/datastore/plugin_datastore_template.c
+++ b/src/datastore/plugin_datastore_template.c
@@ -227,27 +227,6 @@ template_plugin_iter_zero_anonymity (void *cls,
227 227
228 228
229/** 229/**
230 * Select a subset of the items in the datastore and call
231 * the given iterator for each of them.
232 *
233 * @param cls our "struct Plugin*"
234 * @param type entries of which type should be considered?
235 * Use 0 for any type.
236 * @param iter function to call on each matching value;
237 * will be called once with a NULL value at the end
238 * @param iter_cls closure for iter
239 */
240static void
241template_plugin_iter_all_now (void *cls,
242 enum GNUNET_BLOCK_Type type,
243 PluginIterator iter,
244 void *iter_cls)
245{
246 GNUNET_break (0);
247}
248
249
250/**
251 * Drop database. 230 * Drop database.
252 */ 231 */
253static void 232static void
@@ -282,7 +261,6 @@ libgnunet_plugin_datastore_template_init (void *cls)
282 api->expiration_get = &template_plugin_expiration_get; 261 api->expiration_get = &template_plugin_expiration_get;
283 api->update = &template_plugin_update; 262 api->update = &template_plugin_update;
284 api->iter_zero_anonymity = &template_plugin_iter_zero_anonymity; 263 api->iter_zero_anonymity = &template_plugin_iter_zero_anonymity;
285 api->iter_all_now = &template_plugin_iter_all_now;
286 api->drop = &template_plugin_drop; 264 api->drop = &template_plugin_drop;
287 GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, 265 GNUNET_log_from (GNUNET_ERROR_TYPE_INFO,
288 "template", _("Template database running\n")); 266 "template", _("Template database running\n"));