From 0327e06b59aa20dbfec137b2287b950b5cb84960 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 10 Aug 2025 14:38:09 +0200 Subject: refactors, comments, documentation --- include/administration.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include') 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]; -- cgit v1.2.3-70-g09d2