aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-09-20 13:48:15 +0200
committerChristian Grothoff <christian@grothoff.org>2015-09-20 13:48:15 +0200
commita6f8fa98b0253091cae0f2e38fb5fcec47e115fa (patch)
treec505f31400c14486ad68cdb237decc8fa35ca117 /src/include
parent1eadd66ae0c4abe6867321bcac0ad2f9832a0baf (diff)
implement #3972: support multiple wire formats concurrently
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_json_lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h
index 5a13b9bca..63cb81791 100644
--- a/src/include/taler_json_lib.h
+++ b/src/include/taler_json_lib.h
@@ -167,12 +167,12 @@ TALER_hash_json (json_t *json,
/**
* Check if the given wire format JSON object is correctly formatted
*
- * @param type the type of the wire format
+ * @param allowed NULL-terminated array of allowed wire format types
* @param wire the JSON wire format object
* @return #GNUNET_YES if correctly formatted; #GNUNET_NO if not
*/
int
-TALER_json_validate_wireformat (const char *type,
+TALER_json_validate_wireformat (const char **allowed,
const json_t *wire);