summaryrefslogtreecommitdiff
path: root/src/include/taler_bank_service.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-17 01:23:32 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-17 01:23:32 +0100
commit6faf6fc732afe58a5da71dd442ede78cdbd7c495 (patch)
treec3f8cc519f5a4bc14b7a361ff168b2b19095392d /src/include/taler_bank_service.h
parentc677720e7b5c6a228159044e35ac12554e9c280b (diff)
downloadexchange-6faf6fc732afe58a5da71dd442ede78cdbd7c495.tar.gz
exchange-6faf6fc732afe58a5da71dd442ede78cdbd7c495.tar.bz2
exchange-6faf6fc732afe58a5da71dd442ede78cdbd7c495.zip
payto fixes WIP
Diffstat (limited to 'src/include/taler_bank_service.h')
-rw-r--r--src/include/taler_bank_service.h21
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;
};