From ac8420a66140aa850b1573a3503ed3a7f3cc974c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Jul 2015 13:48:35 +0200 Subject: add cov for mint build --- src/mint/taler-mint-httpd_parsing.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/mint/taler-mint-httpd_parsing.c') diff --git a/src/mint/taler-mint-httpd_parsing.c b/src/mint/taler-mint-httpd_parsing.c index 43667caa..1a4215ba 100644 --- a/src/mint/taler-mint-httpd_parsing.c +++ b/src/mint/taler-mint-httpd_parsing.c @@ -1064,6 +1064,23 @@ TMH_PARSE_member_object (const char *field, } +/** + * Generate line in parser specification for JSON array value. + * + * @param field name of the field + * @param jsonp address of JSON pointer to initialize + * @return corresponding field spec + */ +struct TMH_PARSE_FieldSpecification +TMH_PARSE_member_array (const char *field, + json_t **jsonp) +{ + struct TMH_PARSE_FieldSpecification ret = + { field, jsonp, 0, 0, TMH_PARSE_JNC_RET_TYPED_JSON, JSON_ARRAY }; + return ret; +} + + /** * Generate line in parser specification for an absolute time. * -- cgit v1.2.3