diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-07-05 13:48:35 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-07-05 13:48:35 +0200 |
commit | ac8420a66140aa850b1573a3503ed3a7f3cc974c (patch) | |
tree | 9a88a19c29a27f1a47da1487c04871a8f667ca61 /src/mint/taler-mint-httpd_parsing.c | |
parent | a104914e4d209d9c2d94a8f4e943dd29e739158a (diff) |
add cov for mint build
Diffstat (limited to 'src/mint/taler-mint-httpd_parsing.c')
-rw-r--r-- | src/mint/taler-mint-httpd_parsing.c | 17 |
1 files changed, 17 insertions, 0 deletions
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 @@ -1065,6 +1065,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. * * @param field name of the field |