diff options
Diffstat (limited to 'include/administration.hpp')
| -rw-r--r-- | include/administration.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/administration.hpp b/include/administration.hpp index b567f6f..a0dd803 100644 --- a/include/administration.hpp +++ b/include/administration.hpp @@ -22,14 +22,21 @@ typedef struct { char address1[128]; char address2[128]; - char country[128]; + char country_code[3]; // 2 letter country code. } address; +typedef enum +{ + CONTACT_BUSINESS, + CONTACT_CONSUMER, +} contact_type; + typedef struct { char id[16]; char name[64]; address address; + contact_type type; char taxid[32]; char businessid[32]; char email[64]; |
