diff options
Diffstat (limited to 'exports/c')
| -rw-r--r-- | exports/c/disco.h | 19 | ||||
| -rw-r--r-- | exports/c/servers.h | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/exports/c/disco.h b/exports/c/disco.h index 41d59fa..8fa07a4 100644 --- a/exports/c/disco.h +++ b/exports/c/disco.h @@ -1,6 +1,25 @@ // for size_t #include <stddef.h> +typedef struct discoveryServer { + const char* authentication_url_template; + const char* base_url; + const char* country_code; + const char* display_name; + const char* keyword_list; + const char** public_key_list; + size_t total_public_keys; + const char* server_type; + const char** support_contact; + size_t total_support_contact; +} discoveryServer; + +typedef struct discoveryServers { + unsigned long long int version; + discoveryServer** servers; + size_t total_servers; +} discoveryServers; + typedef struct discoveryOrganization { const char* display_name; const char* org_id; diff --git a/exports/c/servers.h b/exports/c/servers.h index 39e52a2..1b6cca9 100644 --- a/exports/c/servers.h +++ b/exports/c/servers.h @@ -26,6 +26,7 @@ typedef struct serverLocations { typedef struct server { const char* identifier; const char* display_name; + const char* server_type; const char* country_code; const char** support_contact; size_t total_support_contact; |
