From abe3588e56850403f7ebaf3c9090552e5f4830c6 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 19 Sep 2022 16:19:01 +0200 Subject: Exports: Simplify building - Remove subdir c - Do not compile c code as a separate shared library - Move all definitions/declarations into the preamble as they shouldn't be shared anyways. So no headers are needed - Define the callback as static, needed so we don't get a duplicate declaration --- exports/c/disco.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 exports/c/disco.h (limited to 'exports/c/disco.h') diff --git a/exports/c/disco.h b/exports/c/disco.h deleted file mode 100644 index 8fa07a4..0000000 --- a/exports/c/disco.h +++ /dev/null @@ -1,34 +0,0 @@ -// for size_t -#include - -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; - const char* secure_internet_home; - const char* keyword_list; -} discoveryOrganization; - -typedef struct discoveryOrganizations { - unsigned long long int version; - discoveryOrganization** organizations; - size_t total_organizations; -} discoveryOrganizations; -- cgit v1.2.3