indent
authorGabor X Toth <*@tg-x.net>
Sun, 21 Feb 2016 13:41:26 +0000 (13:41 +0000)
committerGabor X Toth <*@tg-x.net>
Sun, 21 Feb 2016 13:41:26 +0000 (13:41 +0000)
src/include/gnunet_psyc_env.h
src/psycutil/psyc_env.c

index 86562900c19dfb6a9f9c2f502d3df63f68be2d71..0b319e6ef5f6e98121e1c719d63dad3bf6527004 100644 (file)
@@ -163,8 +163,8 @@ GNUNET_PSYC_env_create ();
  */
 void
 GNUNET_PSYC_env_add (struct GNUNET_PSYC_Environment *env,
-                            enum GNUNET_PSYC_Operator oper, const char *name,
-                            const void *value, size_t value_size);
+                     enum GNUNET_PSYC_Operator oper, const char *name,
+                     const void *value, size_t value_size);
 
 
 /**
@@ -187,7 +187,7 @@ GNUNET_PSYC_env_tail (const struct GNUNET_PSYC_Environment *env);
  */
 void
 GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env,
-                               struct GNUNET_PSYC_Modifier *mod);
+                        struct GNUNET_PSYC_Modifier *mod);
 
 
 /**
@@ -195,8 +195,8 @@ GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env,
  */
 int
 GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env,
-                              enum GNUNET_PSYC_Operator *oper, const char **name,
-                              const void **value, size_t *value_size);
+                       enum GNUNET_PSYC_Operator *oper, const char **name,
+                       const void **value, size_t *value_size);
 
 
 /**
@@ -210,8 +210,8 @@ GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env,
  */
 typedef int
 (*GNUNET_PSYC_Iterator) (void *cls, enum GNUNET_PSYC_Operator oper,
-                        const char *name, const char *value,
-                        uint32_t value_size);
+                         const char *name, const char *value,
+                         uint32_t value_size);
 
 
 /**
@@ -223,7 +223,7 @@ typedef int
  */
 void
 GNUNET_PSYC_env_iterate (const struct GNUNET_PSYC_Environment *env,
-                                GNUNET_PSYC_Iterator it, void *it_cls);
+                         GNUNET_PSYC_Iterator it, void *it_cls);
 
 
 /**
@@ -273,8 +273,8 @@ GNUNET_PSYC_var_get_type (char *name);
  */
 int
 GNUNET_PSYC_operation (char *name, void *current_value, size_t current_value_size,
-                      enum GNUNET_PSYC_Operator oper, void *args, size_t args_size,
-                      void **return_value, size_t *return_value_size);
+                       enum GNUNET_PSYC_Operator oper, void *args, size_t args_size,
+                       void **return_value, size_t *return_value_size);
 
 
 /**
index b4861a25daa4ba2c3cf4ecbc3c8018e0fc36294c..0d8a4ec69c0d4fe545c0386b4f3fc2b1a4707c05 100644 (file)
@@ -66,8 +66,8 @@ GNUNET_PSYC_env_create ()
  */
 void
 GNUNET_PSYC_env_add (struct GNUNET_PSYC_Environment *env,
-                            enum GNUNET_PSYC_Operator oper, const char *name,
-                            const void *value, size_t value_size)
+                     enum GNUNET_PSYC_Operator oper, const char *name,
+                     const void *value, size_t value_size)
 {
   struct GNUNET_PSYC_Modifier *mod = GNUNET_new (struct GNUNET_PSYC_Modifier);
   mod->oper = oper;
@@ -104,7 +104,7 @@ GNUNET_PSYC_env_tail (const struct GNUNET_PSYC_Environment *env)
  */
 void
 GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env,
-                               struct GNUNET_PSYC_Modifier *mod)
+                        struct GNUNET_PSYC_Modifier *mod)
 {
   GNUNET_CONTAINER_DLL_remove (env->mod_head, env->mod_tail, mod);
 }
@@ -123,8 +123,8 @@ GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env,
  */
 int
 GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env,
-                              enum GNUNET_PSYC_Operator *oper, const char **name,
-                              const void **value, size_t *value_size)
+                       enum GNUNET_PSYC_Operator *oper, const char **name,
+                       const void **value, size_t *value_size)
 {
   if (NULL == env->mod_head)
     return GNUNET_NO;
@@ -152,7 +152,7 @@ GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env,
  */
 void
 GNUNET_PSYC_env_iterate (const struct GNUNET_PSYC_Environment *env,
-                                GNUNET_PSYC_Iterator it, void *it_cls)
+                         GNUNET_PSYC_Iterator it, void *it_cls)
 {
   struct GNUNET_PSYC_Modifier *mod;
   for (mod = env->mod_head; NULL != mod; mod = mod->next)