diff options
Diffstat (limited to 'src/datacache/plugin_datacache_template.c')
-rw-r--r-- | src/datacache/plugin_datacache_template.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/datacache/plugin_datacache_template.c b/src/datacache/plugin_datacache_template.c index 329bfd9a4..09279f55c 100644 --- a/src/datacache/plugin_datacache_template.c +++ b/src/datacache/plugin_datacache_template.c | |||
@@ -109,24 +109,6 @@ template_plugin_del (void *cls) | |||
109 | 109 | ||
110 | 110 | ||
111 | /** | 111 | /** |
112 | * Return a random value from the datastore. | ||
113 | * | ||
114 | * @param cls closure (internal context for the plugin) | ||
115 | * @param iter maybe NULL (to just count) | ||
116 | * @param iter_cls closure for @a iter | ||
117 | * @return the number of results found (zero or one) | ||
118 | */ | ||
119 | static unsigned int | ||
120 | template_plugin_get_random (void *cls, | ||
121 | GNUNET_DATACACHE_Iterator iter, | ||
122 | void *iter_cls) | ||
123 | { | ||
124 | GNUNET_break (0); | ||
125 | return 0; | ||
126 | } | ||
127 | |||
128 | |||
129 | /** | ||
130 | * Iterate over the results that are "close" to a particular key in | 112 | * Iterate over the results that are "close" to a particular key in |
131 | * the datacache. "close" is defined as numerically larger than @a | 113 | * the datacache. "close" is defined as numerically larger than @a |
132 | * key (when interpreted as a circular address space), with small | 114 | * key (when interpreted as a circular address space), with small |
@@ -171,7 +153,6 @@ libgnunet_plugin_datacache_template_init (void *cls) | |||
171 | api->get = &template_plugin_get; | 153 | api->get = &template_plugin_get; |
172 | api->put = &template_plugin_put; | 154 | api->put = &template_plugin_put; |
173 | api->del = &template_plugin_del; | 155 | api->del = &template_plugin_del; |
174 | api->get_random = &template_plugin_get_random; | ||
175 | api->get_closest = &template_plugin_get_closest; | 156 | api->get_closest = &template_plugin_get_closest; |
176 | GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, | 157 | GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, |
177 | "template", | 158 | "template", |