diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_json_lib.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/include/gnunet_json_lib.h b/src/include/gnunet_json_lib.h index 064f38c9f..82b8502e0 100644 --- a/src/include/gnunet_json_lib.h +++ b/src/include/gnunet_json_lib.h | |||
@@ -49,9 +49,10 @@ struct GNUNET_JSON_Specification; | |||
49 | * @return #GNUNET_SYSERR on error, | 49 | * @return #GNUNET_SYSERR on error, |
50 | * #GNUNET_OK on success | 50 | * #GNUNET_OK on success |
51 | */ | 51 | */ |
52 | typedef int (*GNUNET_JSON_Parser) (void *cls, | 52 | typedef int |
53 | json_t *root, | 53 | (*GNUNET_JSON_Parser) (void *cls, |
54 | struct GNUNET_JSON_Specification *spec); | 54 | json_t *root, |
55 | struct GNUNET_JSON_Specification *spec); | ||
55 | 56 | ||
56 | 57 | ||
57 | /** | 58 | /** |
@@ -60,8 +61,9 @@ typedef int (*GNUNET_JSON_Parser) (void *cls, | |||
60 | * @param cls closure | 61 | * @param cls closure |
61 | * @param spec our specification entry with data to clean. | 62 | * @param spec our specification entry with data to clean. |
62 | */ | 63 | */ |
63 | typedef void (*GNUNET_JSON_Cleaner) (void *cls, | 64 | typedef void |
64 | struct GNUNET_JSON_Specification *spec); | 65 | (*GNUNET_JSON_Cleaner) (void *cls, |
66 | struct GNUNET_JSON_Specification *spec); | ||
65 | 67 | ||
66 | 68 | ||
67 | /** | 69 | /** |