diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-06-18 10:11:25 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-06-18 10:11:46 +0200 |
commit | 79fa977314009e631112918cce3eb0f0d5f296d7 (patch) | |
tree | 2960863923629629fca0a96864d5b6ed0f2d061e /src/include/gnunet_json_lib.h | |
parent | e500e9ec3678dfbb666d173854c134ac3858f8b1 (diff) | |
download | gnunet-79fa977314009e631112918cce3eb0f0d5f296d7.tar.gz gnunet-79fa977314009e631112918cce3eb0f0d5f296d7.zip |
indentation fix
Diffstat (limited to 'src/include/gnunet_json_lib.h')
-rw-r--r-- | src/include/gnunet_json_lib.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/include/gnunet_json_lib.h b/src/include/gnunet_json_lib.h index 27996f18d..95d136239 100644 --- a/src/include/gnunet_json_lib.h +++ b/src/include/gnunet_json_lib.h | |||
@@ -173,7 +173,9 @@ GNUNET_JSON_spec_mark_optional (struct GNUNET_JSON_Specification spec); | |||
173 | * @param size number of bytes expected in @a obj | 173 | * @param size number of bytes expected in @a obj |
174 | */ | 174 | */ |
175 | struct GNUNET_JSON_Specification | 175 | struct GNUNET_JSON_Specification |
176 | GNUNET_JSON_spec_fixed (const char *name, void *obj, size_t size); | 176 | GNUNET_JSON_spec_fixed (const char *name, |
177 | void *obj, | ||
178 | size_t size); | ||
177 | 179 | ||
178 | 180 | ||
179 | /** | 181 | /** |
@@ -196,7 +198,9 @@ GNUNET_JSON_spec_fixed (const char *name, void *obj, size_t size); | |||
196 | * @param[out] size where to store the number of bytes allocated for @a obj | 198 | * @param[out] size where to store the number of bytes allocated for @a obj |
197 | */ | 199 | */ |
198 | struct GNUNET_JSON_Specification | 200 | struct GNUNET_JSON_Specification |
199 | GNUNET_JSON_spec_varsize (const char *name, void **obj, size_t *size); | 201 | GNUNET_JSON_spec_varsize (const char *name, |
202 | void **obj, | ||
203 | size_t *size); | ||
200 | 204 | ||
201 | 205 | ||
202 | /** | 206 | /** |
@@ -206,7 +210,9 @@ GNUNET_JSON_spec_varsize (const char *name, void **obj, size_t *size); | |||
206 | * @param strptr where to store a pointer to the field | 210 | * @param strptr where to store a pointer to the field |
207 | */ | 211 | */ |
208 | struct GNUNET_JSON_Specification | 212 | struct GNUNET_JSON_Specification |
209 | GNUNET_JSON_spec_string (const char *name, const char **strptr); | 213 | GNUNET_JSON_spec_string (const char *name, |
214 | const char **strptr); | ||
215 | |||
210 | 216 | ||
211 | /** | 217 | /** |
212 | * JSON object. | 218 | * JSON object. |
@@ -215,7 +221,8 @@ GNUNET_JSON_spec_string (const char *name, const char **strptr); | |||
215 | * @param[out] jsonp where to store the JSON found under @a name | 221 | * @param[out] jsonp where to store the JSON found under @a name |
216 | */ | 222 | */ |
217 | struct GNUNET_JSON_Specification | 223 | struct GNUNET_JSON_Specification |
218 | GNUNET_JSON_spec_json (const char *name, json_t **jsonp); | 224 | GNUNET_JSON_spec_json (const char *name, |
225 | json_t **jsonp); | ||
219 | 226 | ||
220 | 227 | ||
221 | /** | 228 | /** |
@@ -291,7 +298,8 @@ GNUNET_JSON_spec_int64 (const char *name, | |||
291 | * @param[out] boolean where to store the boolean found under @a name | 298 | * @param[out] boolean where to store the boolean found under @a name |
292 | */ | 299 | */ |
293 | struct GNUNET_JSON_Specification | 300 | struct GNUNET_JSON_Specification |
294 | GNUNET_JSON_spec_boolean (const char *name, int *boolean); | 301 | GNUNET_JSON_spec_boolean (const char *name, |
302 | int *boolean); | ||
295 | 303 | ||
296 | 304 | ||
297 | /* ************ GNUnet-specific parser specifications ******************* */ | 305 | /* ************ GNUnet-specific parser specifications ******************* */ |