diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-17 01:23:32 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-17 01:23:32 +0100 |
commit | 6faf6fc732afe58a5da71dd442ede78cdbd7c495 (patch) | |
tree | c3f8cc519f5a4bc14b7a361ff168b2b19095392d /src/include/taler_bank_service.h | |
parent | c677720e7b5c6a228159044e35ac12554e9c280b (diff) | |
download | exchange-6faf6fc732afe58a5da71dd442ede78cdbd7c495.tar.xz |
payto fixes WIP
Diffstat (limited to 'src/include/taler_bank_service.h')
-rw-r--r-- | src/include/taler_bank_service.h | 21 |
1 files changed, 20 insertions, 1 deletions
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, }; @@ -53,6 +58,12 @@ 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? */ enum TALER_BANK_AuthenticationMethod method; @@ -79,6 +90,14 @@ struct TALER_BANK_AuthenticationData char *password; } basic; + struct + { + /** + * Port that the fakebank runs on. + */ + uint16_t fb_port; + } fakebank; + } details; }; |