feat: expose openconnect connection options

This commit is contained in:
Kevin Yue committed 2026-05-06 23:20:55 +08:00
1 parent a51f034036
commit 5ace087f92
7 files changed
+93 -6

No files matched your search

+2
View File
@@ -15,6 +15,7 @@ typedef struct vpn_options {
const char *os;
const char *os_version;
const char *client_version;
const char *local_hostname;
const char *script;
const char *interface;
@@ -34,6 +35,7 @@ typedef struct vpn_options {
const int no_dtls;
const int dpd_interval;
const int no_xmlpost;
} vpn_options;
int vpn_connect(const vpn_options *options, vpn_connected_callback callback);