diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-10-26 16:28:11 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-10-26 16:28:11 +0100 |
commit | 4254332bd1bd01c41088a158d21d3e1e4ab4eb90 (patch) | |
tree | 2d6f044251b154927b3d1c9a646aebf0be1297c5 /src/include | |
parent | b0097e0389376fe5b1fc78684c53c2b0de647582 (diff) | |
download | merchant-4254332bd1bd01c41088a158d21d3e1e4ab4eb90.tar.gz merchant-4254332bd1bd01c41088a158d21d3e1e4ab4eb90.tar.bz2 merchant-4254332bd1bd01c41088a158d21d3e1e4ab4eb90.zip |
Fetching mint's details (compliant to the new API) from the
configuration file. To test.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/merchant.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/include/merchant.h b/src/include/merchant.h index a5273507..dcd4388e 100644 --- a/src/include/merchant.h +++ b/src/include/merchant.h @@ -58,6 +58,50 @@ struct MERCHANT_MintInfo { */ uint16_t port; + /* According to the mint's location, some of the following + fields may be omitted. In case of numbers, they will be set + to zero, otherwise SET TO nuLL */ + + /** + * The Country where the mint operates from + */ + char *country; + + /** + * The city where the mint operates from + */ + char *city; + + /** + * The State (within a Country) where the mint + * operates from + */ + char *state; + + /** + * The region where the mint operates from + */ + char *region; + + /** + * The province where the mint operates from + */ + char *province; + + /** + * The ZIP code where the mint operates from + */ + uint16_t zip_code; + + /** + * The street's name where the mint operates from + */ + char *street; + + /** + * The street number where the mint operates from + */ + uint16_t street_no; }; |