summaryrefslogtreecommitdiff
path: root/src/include/taler_json_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-13 10:01:57 +0100
committerChristian Grothoff <christian@grothoff.org>2015-03-13 10:01:57 +0100
commit6404213457fbb9ddd089d556d95d841e21754ff8 (patch)
tree5bdeb05297016b09b5e769a60f5f5211d4710e58 /src/include/taler_json_lib.h
parent968e4aa68f4185d24466bb3ba8bfaba8d9c27ef1 (diff)
downloadexchange-6404213457fbb9ddd089d556d95d841e21754ff8.tar.gz
exchange-6404213457fbb9ddd089d556d95d841e21754ff8.tar.bz2
exchange-6404213457fbb9ddd089d556d95d841e21754ff8.zip
use wire validation routine
Diffstat (limited to 'src/include/taler_json_lib.h')
-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 2b9d51875..ffa440d56 100644
--- a/src/include/taler_json_lib.h
+++ b/src/include/taler_json_lib.h
@@ -139,11 +139,11 @@ TALER_JSON_to_data (json_t *json,
*
* @param type the type of the wire format
* @param wire the JSON wire format object
- * @return 1 if correctly formatted; 0 if not
+ * @return #GNUNET_YES if correctly formatted; #GNUNET_NO if not
*/
int
TALER_JSON_validate_wireformat (const char *type,
- json_t *wire);
+ const json_t *wire);
#endif /* TALER_JSON_LIB_H_ */