* @param size number of bytes expected in @a obj
*/
struct GNUNET_JSON_Specification
-GNUNET_JSON_spec_fixed (const char *name, void *obj, size_t size);
+GNUNET_JSON_spec_fixed (const char *name,
+ void *obj,
+ size_t size);
/**
* @param[out] size where to store the number of bytes allocated for @a obj
*/
struct GNUNET_JSON_Specification
-GNUNET_JSON_spec_varsize (const char *name, void **obj, size_t *size);
+GNUNET_JSON_spec_varsize (const char *name,
+ void **obj,
+ size_t *size);
/**
* @param strptr where to store a pointer to the field
*/
struct GNUNET_JSON_Specification
-GNUNET_JSON_spec_string (const char *name, const char **strptr);
+GNUNET_JSON_spec_string (const char *name,
+ const char **strptr);
+
/**
* JSON object.
* @param[out] jsonp where to store the JSON found under @a name
*/
struct GNUNET_JSON_Specification
-GNUNET_JSON_spec_json (const char *name, json_t **jsonp);
+GNUNET_JSON_spec_json (const char *name,
+ json_t **jsonp);
/**
* @param[out] boolean where to store the boolean found under @a name
*/
struct GNUNET_JSON_Specification
-GNUNET_JSON_spec_boolean (const char *name, int *boolean);
+GNUNET_JSON_spec_boolean (const char *name,
+ int *boolean);
/* ************ GNUnet-specific parser specifications ******************* */
* string is returned.
*/
char *
-GNUNET_STRINGS_conv (const char *input, size_t len,
+GNUNET_STRINGS_conv (const char *input,
+ size_t len,
const char *input_charset,
const char *output_charset);