*/
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);
/**
*/
void
GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env,
- struct GNUNET_PSYC_Modifier *mod);
+ struct GNUNET_PSYC_Modifier *mod);
/**
*/
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);
/**
*/
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);
/**
*/
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);
/**
*/
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);
/**
*/
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;
*/
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);
}
*/
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;
*/
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)