summaryrefslogtreecommitdiff
path: root/include/administration.hpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-08-10 14:38:09 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-08-10 14:38:09 +0200
commit0327e06b59aa20dbfec137b2287b950b5cb84960 (patch)
tree468a884cc65647f2f6b980a97dd010c9d0470ef6 /include/administration.hpp
parent7a29dfbc37f2440b7e5461e905651b25615d2d02 (diff)
refactors, comments, documentation
Diffstat (limited to 'include/administration.hpp')
-rw-r--r--include/administration.hpp9
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];