- remove http
[oweals/gnunet.git] / src / datacache / plugin_datacache_template.c
index 865f431d73adca23422726632918505a6796d83d..2d3f160e4fb3a570cd0a92260f6429392c5c77c1 100644 (file)
@@ -52,11 +52,8 @@ struct Plugin
  * @return 0 on error, number of bytes used otherwise
  */
 static size_t
-template_plugin_put (void *cls,
-                     const GNUNET_HashCode * key,
-                     size_t size,
-                     const char *data,
-                     enum GNUNET_BLOCK_Type type,
+template_plugin_put (void *cls, const GNUNET_HashCode * key, size_t size,
+                     const char *data, enum GNUNET_BLOCK_Type type,
                      struct GNUNET_TIME_Absolute discard_time)
 {
   GNUNET_break (0);
@@ -76,8 +73,7 @@ template_plugin_put (void *cls,
  * @return the number of results found
  */
 static unsigned int
-template_plugin_get (void *cls,
-                     const GNUNET_HashCode * key,
+template_plugin_get (void *cls, const GNUNET_HashCode * key,
                      enum GNUNET_BLOCK_Type type,
                      GNUNET_DATACACHE_Iterator iter, void *iter_cls)
 {
@@ -89,7 +85,7 @@ template_plugin_get (void *cls,
 /**
  * Delete the entry with the lowest expiration value
  * from the datacache right now.
- * 
+ *
  * @param cls closure (our "struct Plugin")
  * @return GNUNET_OK on success, GNUNET_SYSERR on error
  */
@@ -121,8 +117,8 @@ libgnunet_plugin_datacache_template_init (void *cls)
   api->get = &template_plugin_get;
   api->put = &template_plugin_put;
   api->del = &template_plugin_del;
-  GNUNET_log_from (GNUNET_ERROR_TYPE_INFO,
-                   "template", _("Template datacache running\n"));
+  GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, "template",
+                   _("Template datacache running\n"));
   return api;
 }