summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-21 14:21:58 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-21 14:21:58 +0100
commitc9a819a5efdc359fd8d7a3c32e497679c92d0741 (patch)
tree05d5f3bfdde7a44ea379fae24cfeafcd3b48c1b4 /src/mint/taler-mint-httpd_responses.h
parent2ef511eece640f0e8ecd5fe3bd8dacf092624287 (diff)
downloadexchange-c9a819a5efdc359fd8d7a3c32e497679c92d0741.tar.gz
exchange-c9a819a5efdc359fd8d7a3c32e497679c92d0741.tar.bz2
exchange-c9a819a5efdc359fd8d7a3c32e497679c92d0741.zip
handle DB connect errors
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r--src/mint/taler-mint-httpd_responses.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h
index 55ebc0ca9..11e916f16 100644
--- a/src/mint/taler-mint-httpd_responses.h
+++ b/src/mint/taler-mint-httpd_responses.h
@@ -104,6 +104,17 @@ TALER_MINT_reply_internal_error (struct MHD_Connection *connection,
/**
+ * Send a response indicating a failure to talk to the Mint's
+ * database.
+ *
+ * @param connection the MHD connection to use
+ * @return a MHD result code
+ */
+int
+TALER_MINT_reply_internal_db_error (struct MHD_Connection *connection);
+
+
+/**
* Send a response indicating that the request was too big.
*
* @param connection the MHD connection to use