summaryrefslogtreecommitdiff
path: root/exports/server.h
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-10-11 16:22:49 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2023-10-11 16:22:49 +0200
commit9fa291f1a8c5d5f833d9ed754254eb947864dc87 (patch)
tree4f7a43642ea72010e0d9bbd40fa450e6af5a4359 /exports/server.h
parent373b1fc58ecfdac53d0cd4a3011ac522bdfd3e85 (diff)
Exports + Server + Python: Expose dns_search_domains
See: https://git.sr.ht/~fkooman/vpn-user-portal/commit/f22c736c28fafec19f44f0b70d2b372be93b0f8b Needed for Linux client
Diffstat (limited to 'exports/server.h')
-rw-r--r--exports/server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/exports/server.h b/exports/server.h
index 4bc8a16..f2af70b 100644
--- a/exports/server.h
+++ b/exports/server.h
@@ -5,8 +5,9 @@
typedef struct serverProfile {
const char* id;
const char* display_name;
- //const char* proto_list;
int default_gateway;
+ const char** dns_search_domains;
+ size_t total_dns_search_domains;
} serverProfile;
// The struct for all server profiles