summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-31 15:42:00 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-31 15:42:00 +0100
commit6d8ccc9fe7d328a2ac53263f289f2e309704e412 (patch)
tree15a2d345d4c8b3cc428ee05375d1fe9d10743391 /src/mint/taler-mint-httpd_responses.h
parent28d9d3130e06f31736a0e8cce26037c1c5612d94 (diff)
downloadexchange-6d8ccc9fe7d328a2ac53263f289f2e309704e412.tar.gz
exchange-6d8ccc9fe7d328a2ac53263f289f2e309704e412.tar.bz2
exchange-6d8ccc9fe7d328a2ac53263f289f2e309704e412.zip
starting to clean up /refresh/reveal DB logic
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 3e8f3f3ff..c6f31f1dc 100644
--- a/src/mint/taler-mint-httpd_responses.h
+++ b/src/mint/taler-mint-httpd_responses.h
@@ -113,6 +113,18 @@ TALER_MINT_reply_internal_error (struct MHD_Connection *connection,
/**
+ * Send a response indicating an external error.
+ *
+ * @param connection the MHD connection to use
+ * @param hint hint about the error's nature
+ * @return a MHD result code
+ */
+int
+TALER_MINT_reply_external_error (struct MHD_Connection *connection,
+ const char *hint);
+
+
+/**
* Send a response indicating an error committing a
* transaction (concurrent interference).
*