diff options
Diffstat (limited to 'src/datastore/plugin_datastore_template.c')
-rw-r--r-- | src/datastore/plugin_datastore_template.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/datastore/plugin_datastore_template.c b/src/datastore/plugin_datastore_template.c index 1e30abe18..2978de4fe 100644 --- a/src/datastore/plugin_datastore_template.c +++ b/src/datastore/plugin_datastore_template.c | |||
@@ -213,6 +213,21 @@ template_plugin_drop (void *cls) | |||
213 | 213 | ||
214 | 214 | ||
215 | /** | 215 | /** |
216 | * Get all of the keys in the datastore. | ||
217 | * | ||
218 | * @param cls closure | ||
219 | * @param proc function to call on each key | ||
220 | * @param proc_cls closure for proc | ||
221 | */ | ||
222 | static void | ||
223 | template_get_keys (void *cls, | ||
224 | PluginKeyProcessor proc, | ||
225 | void *proc_cls) | ||
226 | { | ||
227 | } | ||
228 | |||
229 | |||
230 | /** | ||
216 | * Entry point for the plugin. | 231 | * Entry point for the plugin. |
217 | * | 232 | * |
218 | * @param cls the "struct GNUNET_DATASTORE_PluginEnvironment*" | 233 | * @param cls the "struct GNUNET_DATASTORE_PluginEnvironment*" |
@@ -237,6 +252,7 @@ libgnunet_plugin_datastore_template_init (void *cls) | |||
237 | api->get_expiration = &template_plugin_get_expiration; | 252 | api->get_expiration = &template_plugin_get_expiration; |
238 | api->get_zero_anonymity = &template_plugin_get_zero_anonymity; | 253 | api->get_zero_anonymity = &template_plugin_get_zero_anonymity; |
239 | api->drop = &template_plugin_drop; | 254 | api->drop = &template_plugin_drop; |
255 | api->get_keys = &template_get_keys; | ||
240 | GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, "template", | 256 | GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, "template", |
241 | _("Template database running\n")); | 257 | _("Template database running\n")); |
242 | return api; | 258 | return api; |