diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-15 20:26:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-15 20:26:00 +0200 |
commit | b7be5b9f5d3e5ca4be1aaf663b271cdde0f69ef4 (patch) | |
tree | 779d12b942b31869d780b52e1b485df9564dbcd5 /src/include/gnunet_json_lib.h | |
parent | 7bcd5338f4c340e31eaf0d1cf36d393b66595acf (diff) | |
download | gnunet-b7be5b9f5d3e5ca4be1aaf663b271cdde0f69ef4.tar.gz gnunet-b7be5b9f5d3e5ca4be1aaf663b271cdde0f69ef4.zip |
fix #6184
Diffstat (limited to 'src/include/gnunet_json_lib.h')
-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 | /** |