diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-12-06 19:24:00 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-12-06 19:24:00 +0100 |
commit | 042616899f89d38167632e3ff24b16469a27fbef (patch) | |
tree | cd0bfb86882f3cc8cd493e7fb3cb0e5ea00e356c /src/bank-lib/bank_api_common.h | |
parent | 5540747ca2e5f37f2df504d689b850d1078fcdc5 (diff) | |
download | exchange-042616899f89d38167632e3ff24b16469a27fbef.tar.xz |
largely fix #5077
Diffstat (limited to 'src/bank-lib/bank_api_common.h')
-rw-r--r-- | src/bank-lib/bank_api_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bank-lib/bank_api_common.h b/src/bank-lib/bank_api_common.h index 9d7a7800c..5d6578ce0 100644 --- a/src/bank-lib/bank_api_common.h +++ b/src/bank-lib/bank_api_common.h @@ -51,4 +51,14 @@ TALER_BANK_path_to_url_ (const char *u, const char *path); +/** + * Parse error code given in @a json. + * + * @param json the json to parse + * @return error code, or #TALER_EC_INVALID if not found + */ +enum TALER_ErrorCode +TALER_BANK_parse_ec_ (const json_t *json); + + #endif |