From da83f54606c9c1d2786d87074ee17ed972d2e1b2 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 14 Sep 2022 13:56:49 +0200 Subject: Refactor: Return without json --- exports/c/disco.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 exports/c/disco.h (limited to 'exports/c/disco.h') diff --git a/exports/c/disco.h b/exports/c/disco.h new file mode 100644 index 0000000..41d59fa --- /dev/null +++ b/exports/c/disco.h @@ -0,0 +1,15 @@ +// for size_t +#include + +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