mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
Add tunnel statistics and an optional CLI dashboard, native sign-in controls and recovery, and broader client certificate support. Include platform integration fixes and the approved release notes.
13 lines
468 B
Rust
13 lines
468 B
Rust
use std::io;
|
|
|
|
pub type NetworkConfigurationHandler = dyn Fn(&NetworkConfiguration) -> io::Result<()> + Send + Sync;
|
|
|
|
/// OpenConnect's configuration inputs for one lifecycle event.
|
|
/// Values are copied from OpenConnect before calling the handler. A missing
|
|
/// value means the variable must be unset, rather than inherited by a child.
|
|
#[derive(Debug, Clone)]
|
|
pub struct NetworkConfiguration {
|
|
pub reason: String,
|
|
pub environment: Vec<(String, Option<String>)>,
|
|
}
|