diff options
author | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-07-01 10:15:12 +0200 |
---|---|---|
committer | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-07-01 10:15:12 +0200 |
commit | dde86c97dd28adc8aff08ed28f80af0ddc6c2b9e (patch) | |
tree | 0f383a89b353999ed0b43037d89a7d78d200156b /src/mint/taler-mint-httpd_responses.h | |
parent | 17ae8871be76cb6f9357763d70c504dd2eb34106 (diff) | |
parent | 01b2a257b1add6809ffa734b2fe6bc9ac87f5477 (diff) | |
download | exchange-dde86c97dd28adc8aff08ed28f80af0ddc6c2b9e.tar.gz exchange-dde86c97dd28adc8aff08ed28f80af0ddc6c2b9e.tar.bz2 exchange-dde86c97dd28adc8aff08ed28f80af0ddc6c2b9e.zip |
Merge branch 'master' of taler.net:/var/git/mint
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r-- | src/mint/taler-mint-httpd_responses.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h index 2ae06209d..1f8e1e44c 100644 --- a/src/mint/taler-mint-httpd_responses.h +++ b/src/mint/taler-mint-httpd_responses.h @@ -115,6 +115,18 @@ TMH_RESPONSE_reply_arg_missing (struct MHD_Connection *connection, /** + * Send a response indicating permission denied. + * + * @param connection the MHD connection to use + * @param hint hint about why access was denied + * @return a MHD result code + */ +int +TMH_RESPONSE_reply_permission_denied (struct MHD_Connection *connection, + const char *hint); + + +/** * Send a response indicating an internal error. * * @param connection the MHD connection to use |