diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-25 16:18:24 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-25 16:18:24 +0200 |
commit | eb559970846f0fa27f1f25c482cd07210a56f4b1 (patch) | |
tree | 8526637825e520e1420b17515934ced794a33c01 /src/include/taler_wire_lib.h | |
parent | 3742239c13001433eeade439a0e0490f07351c43 (diff) | |
download | exchange-eb559970846f0fa27f1f25c482cd07210a56f4b1.tar.xz |
re-format code
Diffstat (limited to 'src/include/taler_wire_lib.h')
-rw-r--r-- | src/include/taler_wire_lib.h | 37 |
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. |