From 6faf6fc732afe58a5da71dd442ede78cdbd7c495 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 17 Jan 2020 01:23:32 +0100 Subject: payto fixes WIP --- src/include/taler_bank_service.h | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'src/include/taler_bank_service.h') diff --git a/src/include/taler_bank_service.h b/src/include/taler_bank_service.h index aace9402f..c9843f2fc 100644 --- a/src/include/taler_bank_service.h +++ b/src/include/taler_bank_service.h @@ -42,7 +42,12 @@ enum TALER_BANK_AuthenticationMethod /** * Basic authentication with cleartext username and password. */ - TALER_BANK_AUTH_BASIC + TALER_BANK_AUTH_BASIC, + + /** + * The authentication data refers to a fakebank. + */ + TALER_BANK_AUTH_FAKEBANK, }; @@ -52,6 +57,12 @@ enum TALER_BANK_AuthenticationMethod struct TALER_BANK_AuthenticationData { + /** + * Base URL we use to talk to the wire gateway, + * which talks to the bank for us. + */ + char *wire_gateway_url; + /** * Which authentication method should we use? */ @@ -79,6 +90,14 @@ struct TALER_BANK_AuthenticationData char *password; } basic; + struct + { + /** + * Port that the fakebank runs on. + */ + uint16_t fb_port; + } fakebank; + } details; }; -- cgit v1.2.3