diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-13 10:01:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-13 10:01:57 +0100 |
commit | 6404213457fbb9ddd089d556d95d841e21754ff8 (patch) | |
tree | 5bdeb05297016b09b5e769a60f5f5211d4710e58 /src/include | |
parent | 968e4aa68f4185d24466bb3ba8bfaba8d9c27ef1 (diff) | |
download | exchange-6404213457fbb9ddd089d556d95d841e21754ff8.tar.xz |
use wire validation routine
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_json_lib.h | 4 |
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_ */ |