diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-04-18 21:05:27 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-04-18 21:05:27 +0200 |
commit | 5e8ef386803c399c1b6d780181b0b8662c418db0 (patch) | |
tree | e1e0e7433be54c9f1904e73d3257b00b82320847 /src/include/taler_json_lib.h | |
parent | 164c125528e4af078815c0156df54fa0120eed8a (diff) | |
download | exchange-5e8ef386803c399c1b6d780181b0b8662c418db0.tar.xz |
fixing #4980
Diffstat (limited to 'src/include/taler_json_lib.h')
-rw-r--r-- | src/include/taler_json_lib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h index b247ba1f5..248de9c45 100644 --- a/src/include/taler_json_lib.h +++ b/src/include/taler_json_lib.h @@ -59,6 +59,18 @@ TALER_JSON_spec_amount (const char *name, /** + * Provide specification to parse given JSON object to an amount + * in network byte order. + * + * @param name name of the amount field in the JSON + * @param[out] r_amount where the amount has to be written + */ +struct GNUNET_JSON_Specification +TALER_JSON_spec_amount_nbo (const char *name, + struct TALER_AmountNBO *r_amount); + + +/** * Generate line in parser specification for denomination public key. * * @param field name of the field |