Files
GlobalProtect-openconnect/crates/openconnect/src/network_configuration.rs
T
Kevin Yue 4faa2ecb0d feat: prepare 3.1.0 with connection details and improved authentication
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.
2026-10-19 23:47:11 +08:00

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>)>,
}