summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-30 22:09:15 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-30 22:09:15 +0200
commit253d220ea54d45557f33dd3a7affef0e79593218 (patch)
treec50e34b2070f1bd1d3d340e7bec62db6ea6f4125 /src/mint/taler-mint-httpd_responses.h
parent68bf92de2c1d754a04663236a4106e2c5635ebc4 (diff)
downloadexchange-253d220ea54d45557f33dd3a7affef0e79593218.tar.gz
exchange-253d220ea54d45557f33dd3a7affef0e79593218.tar.bz2
exchange-253d220ea54d45557f33dd3a7affef0e79593218.zip
towards implementing #3851: /admin/add/incoming
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r--src/mint/taler-mint-httpd_responses.h12
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