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 @@ pub(crate) struct ConnectOptions {
pub os: *const c_char,
pub os_version: *const c_char,
pub client_version: *const c_char,
pub local_hostname: *const c_char,
pub script: *const c_char,
pub interface: *const c_char,
@@ -34,6 +35,7 @@ pub(crate) struct ConnectOptions {
pub no_dtls: u32,
pub dpd_interval: u32,
pub no_xmlpost: u32,
}
#[link(name = "vpn")]