migrate ARM to new service API
[oweals/gnunet.git] / src / include / gnunet_peerstore_plugin.h
index 65359aefd9ef7a3df251a2d5a3f7b47210c6c5d2..1d731f2cc78e531119376f467c32b1cfdda4f50f 100644 (file)
@@ -72,15 +72,15 @@ struct GNUNET_PEERSTORE_PluginFunctions
    */
   int
   (*store_record) (void *cls,
-      const char *sub_system,
-      const struct GNUNET_PeerIdentity *peer,
-      const char *key,
-      const void *value,
-      size_t size,
-      struct GNUNET_TIME_Absolute expiry,
-      enum GNUNET_PEERSTORE_StoreOption options,
-      GNUNET_PEERSTORE_Continuation cont,
-      void *cont_cls);
+                   const char *sub_system,
+                   const struct GNUNET_PeerIdentity *peer,
+                   const char *key,
+                   const void *value,
+                   size_t size,
+                   struct GNUNET_TIME_Absolute expiry,
+                   enum GNUNET_PEERSTORE_StoreOption options,
+                   GNUNET_PEERSTORE_Continuation cont,
+                   void *cont_cls);
 
   /**
    * Iterate over the records given an optional peer id
@@ -98,10 +98,11 @@ struct GNUNET_PEERSTORE_PluginFunctions
    */
   int
   (*iterate_records) (void *cls,
-      const char *sub_system,
-      const struct GNUNET_PeerIdentity *peer,
-      const char *key,
-      GNUNET_PEERSTORE_Processor iter, void *iter_cls);
+                      const char *sub_system,
+                      const struct GNUNET_PeerIdentity *peer,
+                      const char *key,
+                      GNUNET_PEERSTORE_Processor iter,
+                      void *iter_cls);
 
   /**
    * Delete expired records (expiry < now)
@@ -115,9 +116,9 @@ struct GNUNET_PEERSTORE_PluginFunctions
    */
   int
   (*expire_records) (void *cls,
-      struct GNUNET_TIME_Absolute now,
-      GNUNET_PEERSTORE_Continuation cont,
-      void *cont_cls);
+                     struct GNUNET_TIME_Absolute now,
+                     GNUNET_PEERSTORE_Continuation cont,
+                     void *cont_cls);
 
 };