aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_json_lib.h
diff options
context:
space:
mode:
authorAnna Wimbauer <anna.wimbauer@gmx.de>2020-04-27 09:28:53 +0200
committerAnna Wimbauer <anna.wimbauer@gmx.de>2020-04-27 09:28:53 +0200
commite5bc04c4a1499a472f3b6f0bd41c275a8537071f (patch)
tree29fa88bb7336ac5c148f3c6304304a2b904f02c5 /src/include/gnunet_json_lib.h
parent9a91e41070e368e929e7534c047c8360e60d1901 (diff)
parent91fd7860cba14c27d52850f91b17060790855145 (diff)
downloadgnunet-e5bc04c4a1499a472f3b6f0bd41c275a8537071f.tar.gz
gnunet-e5bc04c4a1499a472f3b6f0bd41c275a8537071f.zip
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src/include/gnunet_json_lib.h')
-rw-r--r--src/include/gnunet_json_lib.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_json_lib.h b/src/include/gnunet_json_lib.h
index f6cabd589..27996f18d 100644
--- a/src/include/gnunet_json_lib.h
+++ b/src/include/gnunet_json_lib.h
@@ -219,6 +219,17 @@ GNUNET_JSON_spec_json (const char *name, json_t **jsonp);
219 219
220 220
221/** 221/**
222 * boolean.
223 *
224 * @param name name of the JSON field
225 * @param[out] b where to store the boolean found under @a name
226 */
227struct GNUNET_JSON_Specification
228GNUNET_JSON_spec_bool (const char *name,
229 bool *b);
230
231
232/**
222 * 8-bit integer. 233 * 8-bit integer.
223 * 234 *
224 * @param name name of the JSON field 235 * @param name name of the JSON field