From a6a0562bcef27d6f213646c5bbf6129fcfe65377 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 7 Apr 2020 14:35:56 +0200 Subject: implementing #5288 --- src/backend/taler-merchant-httpd.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/backend/taler-merchant-httpd.h') diff --git a/src/backend/taler-merchant-httpd.h b/src/backend/taler-merchant-httpd.h index 4695edd0..1e3aac53 100644 --- a/src/backend/taler-merchant-httpd.h +++ b/src/backend/taler-merchant-httpd.h @@ -101,7 +101,7 @@ struct WireMethod /** - * Information that defines a merchant "instance". Tha4673t way, a single + * Information that defines a merchant "instance". That way, a single * backend can account for several merchants, as used to do in donation * shops */ @@ -357,6 +357,13 @@ extern struct TALER_MerchantPrivateKeyP privkey; */ extern struct TALER_MerchantPublicKeyP pubkey; +/** + * Hashmap pointing at merchant instances by 'id'. An 'id' is + * just a string that identifies a merchant instance. When a frontend + * needs to specify an instance to the backend, it does so by 'id' + */ +extern struct GNUNET_CONTAINER_MultiHashMap *by_id_map; + /** * Handle to the database backend. */ -- cgit v1.2.3