aboutsummaryrefslogtreecommitdiff
path: root/src/psycutil
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2016-02-21 13:41:26 +0000
committerGabor X Toth <*@tg-x.net>2016-02-21 13:41:26 +0000
commit9b8f3b8f3553b5b2f67cd14ad9a4f431f98d505d (patch)
tree46b45f3af6e3f5af3703a6c95ffc53bf871c4775 /src/psycutil
parent7ba7524b484e4c3efebb075ad53b96a9b64efa0a (diff)
downloadgnunet-9b8f3b8f3553b5b2f67cd14ad9a4f431f98d505d.tar.gz
gnunet-9b8f3b8f3553b5b2f67cd14ad9a4f431f98d505d.zip
indent
Diffstat (limited to 'src/psycutil')
-rw-r--r--src/psycutil/psyc_env.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/psycutil/psyc_env.c b/src/psycutil/psyc_env.c
index b4861a25d..0d8a4ec69 100644
--- a/src/psycutil/psyc_env.c
+++ b/src/psycutil/psyc_env.c
@@ -66,8 +66,8 @@ GNUNET_PSYC_env_create ()
66 */ 66 */
67void 67void
68GNUNET_PSYC_env_add (struct GNUNET_PSYC_Environment *env, 68GNUNET_PSYC_env_add (struct GNUNET_PSYC_Environment *env,
69 enum GNUNET_PSYC_Operator oper, const char *name, 69 enum GNUNET_PSYC_Operator oper, const char *name,
70 const void *value, size_t value_size) 70 const void *value, size_t value_size)
71{ 71{
72 struct GNUNET_PSYC_Modifier *mod = GNUNET_new (struct GNUNET_PSYC_Modifier); 72 struct GNUNET_PSYC_Modifier *mod = GNUNET_new (struct GNUNET_PSYC_Modifier);
73 mod->oper = oper; 73 mod->oper = oper;
@@ -104,7 +104,7 @@ GNUNET_PSYC_env_tail (const struct GNUNET_PSYC_Environment *env)
104 */ 104 */
105void 105void
106GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env, 106GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env,
107 struct GNUNET_PSYC_Modifier *mod) 107 struct GNUNET_PSYC_Modifier *mod)
108{ 108{
109 GNUNET_CONTAINER_DLL_remove (env->mod_head, env->mod_tail, mod); 109 GNUNET_CONTAINER_DLL_remove (env->mod_head, env->mod_tail, mod);
110} 110}
@@ -123,8 +123,8 @@ GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env,
123 */ 123 */
124int 124int
125GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env, 125GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env,
126 enum GNUNET_PSYC_Operator *oper, const char **name, 126 enum GNUNET_PSYC_Operator *oper, const char **name,
127 const void **value, size_t *value_size) 127 const void **value, size_t *value_size)
128{ 128{
129 if (NULL == env->mod_head) 129 if (NULL == env->mod_head)
130 return GNUNET_NO; 130 return GNUNET_NO;
@@ -152,7 +152,7 @@ GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env,
152 */ 152 */
153void 153void
154GNUNET_PSYC_env_iterate (const struct GNUNET_PSYC_Environment *env, 154GNUNET_PSYC_env_iterate (const struct GNUNET_PSYC_Environment *env,
155 GNUNET_PSYC_Iterator it, void *it_cls) 155 GNUNET_PSYC_Iterator it, void *it_cls)
156{ 156{
157 struct GNUNET_PSYC_Modifier *mod; 157 struct GNUNET_PSYC_Modifier *mod;
158 for (mod = env->mod_head; NULL != mod; mod = mod->next) 158 for (mod = env->mod_head; NULL != mod; mod = mod->next)