aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_mhd.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-03 16:42:04 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-03 16:42:04 +0200
commitab07b05c353f7efa877804092f3529ffe7fb5665 (patch)
treef4f0c8afb8c225f913c53367338f700d0f72da85 /src/backend/taler-merchant-httpd_mhd.h
parent708abb48f8f002e11d399431c959c81842eaf962 (diff)
work on GET /tips/ HTML page
Diffstat (limited to 'src/backend/taler-merchant-httpd_mhd.h')
-rw-r--r--src/backend/taler-merchant-httpd_mhd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_mhd.h b/src/backend/taler-merchant-httpd_mhd.h
index cbf83add..a3a9afbc 100644
--- a/src/backend/taler-merchant-httpd_mhd.h
+++ b/src/backend/taler-merchant-httpd_mhd.h
@@ -102,4 +102,13 @@ TMH_MHD_handler_send_json_pack_error (struct TMH_RequestHandler *rh,
struct TMH_MerchantInstance *mi);
+/**
+ * Test if the client requested HTML output.
+ *
+ * @param connection client to test
+ * @return true if HTML was requested
+ */
+bool
+TMH_MHD_test_html_desired (struct MHD_Connection *connection);
+
#endif