diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-04-08 22:28:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-04-08 22:28:52 +0200 |
commit | 80b29ed2aef0c50a9755809816d781afc08ef71e (patch) | |
tree | d1dbc750be7e3017c6ee3521c19ba8073203b9ed /src/mint/taler-mint-httpd_responses.h | |
parent | 42147c2501d06c44c8bfbc052d72fb2e97eaa2c6 (diff) |
indentation and minor updates to reflect latest API docs
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r-- | src/mint/taler-mint-httpd_responses.h | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h index 616ce6ae7..cedb90d36 100644 --- a/src/mint/taler-mint-httpd_responses.h +++ b/src/mint/taler-mint-httpd_responses.h @@ -65,6 +65,18 @@ TMH_RESPONSE_reply_json_pack (struct MHD_Connection *connection, /** + * Send a response indicating an invalid signature. + * + * @param connection the MHD connection to use + * @param param_name the parameter that is invalid + * @return a MHD result code + */ +int +TMH_RESPONSE_reply_signature_invalid (struct MHD_Connection *connection, + const char *param_name); + + +/** * Send a response indicating an invalid argument. * * @param connection the MHD connection to use @@ -77,15 +89,17 @@ TMH_RESPONSE_reply_arg_invalid (struct MHD_Connection *connection, /** - * Send a response indicating an invalid coin. (I.e. the signature - * over the public key of the coin does not match a valid signing key - * of this mint). + * Send a response indicating an argument refering to a + * resource unknown to the mint (i.e. unknown reserve or + * denomination key). * * @param connection the MHD connection to use - * @return MHD result code + * @param param_name the parameter that is invalid + * @return a MHD result code */ int -TMH_RESPONSE_reply_coin_invalid (struct MHD_Connection *connection); +TMH_RESPONSE_reply_arg_unknown (struct MHD_Connection *connection, + const char *param_name); /** |