diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-06-18 11:25:38 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-06-18 11:25:38 +0200 |
commit | 6066ffcb9b07f9e2709d0382afa3fc05c52e21c7 (patch) | |
tree | 6f08cc9e4b38aea696b52755afc0565dd1f2c4a9 /src/exchange/taler-exchange-httpd_responses.h | |
parent | b3cbe01079ea1044f8d1f8bf47e995443efe8390 (diff) | |
download | exchange-6066ffcb9b07f9e2709d0382afa3fc05c52e21c7.tar.gz exchange-6066ffcb9b07f9e2709d0382afa3fc05c52e21c7.tar.bz2 exchange-6066ffcb9b07f9e2709d0382afa3fc05c52e21c7.zip |
dead code elimination
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.h | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.h b/src/exchange/taler-exchange-httpd_responses.h index 1e504fd63..9b1271569 100644 --- a/src/exchange/taler-exchange-httpd_responses.h +++ b/src/exchange/taler-exchange-httpd_responses.h @@ -152,25 +152,11 @@ TEH_RESPONSE_reply_arg_unknown (struct MHD_Connection *connection, */ int TEH_RESPONSE_reply_arg_missing (struct MHD_Connection *connection, - enum TALER_ErrorCode ec, + enum TALER_ErrorCode ec, const char *param_name); /** - * Send a response indicating permission denied. - * - * @param connection the MHD connection to use - * @param ec error code uniquely identifying the error - * @param hint hint about why access was denied - * @return a MHD result code - */ -int -TEH_RESPONSE_reply_permission_denied (struct MHD_Connection *connection, - enum TALER_ErrorCode ec, - const char *hint); - - -/** * Send a response indicating an internal error. * * @param connection the MHD connection to use @@ -180,7 +166,7 @@ TEH_RESPONSE_reply_permission_denied (struct MHD_Connection *connection, */ int TEH_RESPONSE_reply_internal_error (struct MHD_Connection *connection, - enum TALER_ErrorCode ec, + enum TALER_ErrorCode ec, const char *hint); @@ -194,7 +180,7 @@ TEH_RESPONSE_reply_internal_error (struct MHD_Connection *connection, */ int TEH_RESPONSE_reply_external_error (struct MHD_Connection *connection, - enum TALER_ErrorCode ec, + enum TALER_ErrorCode ec, const char *hint); @@ -208,7 +194,8 @@ TEH_RESPONSE_reply_external_error (struct MHD_Connection *connection, */ int TEH_RESPONSE_reply_commit_error (struct MHD_Connection *connection, - enum TALER_ErrorCode ec); + enum TALER_ErrorCode ec); + /** * Send a response indicating a failure to talk to the Exchange's @@ -220,7 +207,7 @@ TEH_RESPONSE_reply_commit_error (struct MHD_Connection *connection, */ int TEH_RESPONSE_reply_internal_db_error (struct MHD_Connection *connection, - enum TALER_ErrorCode ec); + enum TALER_ErrorCode ec); /** |