summaryrefslogtreecommitdiff
path: root/src/include/taler_wire_lib.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-25 16:18:24 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-25 16:18:24 +0200
commiteb559970846f0fa27f1f25c482cd07210a56f4b1 (patch)
tree8526637825e520e1420b17515934ced794a33c01 /src/include/taler_wire_lib.h
parent3742239c13001433eeade439a0e0490f07351c43 (diff)
downloadexchange-eb559970846f0fa27f1f25c482cd07210a56f4b1.tar.gz
exchange-eb559970846f0fa27f1f25c482cd07210a56f4b1.tar.bz2
exchange-eb559970846f0fa27f1f25c482cd07210a56f4b1.zip
re-format code
Diffstat (limited to 'src/include/taler_wire_lib.h')
-rw-r--r--src/include/taler_wire_lib.h37
1 files changed, 20 insertions, 17 deletions
diff --git a/src/include/taler_wire_lib.h b/src/include/taler_wire_lib.h
index 835ea7ca5..3c8510919 100644
--- a/src/include/taler_wire_lib.h
+++ b/src/include/taler_wire_lib.h
@@ -28,23 +28,23 @@
* Different account types supported by payto://.
*/
enum TALER_PaytoAccountType
- {
+{
- /**
- * Used to indicate an uninitialized struct.
- */
- TALER_PAC_NONE = 0,
+ /**
+ * Used to indicate an uninitialized struct.
+ */
+ TALER_PAC_NONE = 0,
- /**
- * Account type of a bank running the x-taler-bank protocol.
- */
- TALER_PAC_X_TALER_BANK,
+ /**
+ * Account type of a bank running the x-taler-bank protocol.
+ */
+ TALER_PAC_X_TALER_BANK,
- /**
- * Account identified by IBAN number.
- */
- TALER_PAC_IBAN
- };
+ /**
+ * Account identified by IBAN number.
+ */
+ TALER_PAC_IBAN
+};
/**
* Information about an account extracted from a payto://-URL.
@@ -60,13 +60,15 @@ struct TALER_Account
/**
* Internals depending on @e type.
*/
- union {
+ union
+ {
/**
* Taler bank address from x-taler-bank. Set if
* @e type is #TALER_AC_X_TALER_BANK.
*/
- struct {
+ struct
+ {
/**
* Hostname of the bank (possibly including port).
@@ -88,7 +90,8 @@ struct TALER_Account
* Taler bank address from iban. Set if
* @e type is #TALER_AC_IBAN.
*/
- struct {
+ struct
+ {
/**
* IBAN number.