aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-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;
};