aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_config.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-09-26 14:32:32 +0200
committerChristian Grothoff <christian@grothoff.org>2019-09-26 14:32:32 +0200
commitd239c2f6dc034547daf2cee7d1737c592d59c7aa (patch)
tree4742c1b7c7fa31be500997f8aaa5fa72194a0816 /src/backend/taler-merchant-httpd_config.h
parent9f6bf3e0cfbd9cf974f614dac58218c10d33c9c2 (diff)
refactor to check for instance in one place, instead of in each handler
Diffstat (limited to 'src/backend/taler-merchant-httpd_config.h')
-rw-r--r--src/backend/taler-merchant-httpd_config.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_config.h b/src/backend/taler-merchant-httpd_config.h
index 08594a5f..43c987d9 100644
--- a/src/backend/taler-merchant-httpd_config.h
+++ b/src/backend/taler-merchant-httpd_config.h
@@ -31,8 +31,7 @@
* @param[in,out] connection_cls the connection's closure (can be updated)
* @param upload_data upload data
* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
- * @param instance_id merchant backend instance ID or NULL is no instance
- * has been explicitly specified
+ * @param mi merchant backend instance, never NULL
* @return MHD result code
*/
int
@@ -41,6 +40,6 @@ MH_handler_config (struct TMH_RequestHandler *rh,
void **connection_cls,
const char *upload_data,
size_t *upload_data_size,
- const char *instance_id);
+ struct MerchantInstance *mi);
#endif