Classes | |
| struct | vpn_callback_table |
| structure for passing callback functions to the vpnapi More... | |
Typedefs | |
| typedef void(* | vpn_connect_cb )(const struct vpn_connect_error *, const char *banner) |
| callback for vpn_connect() results | |
| typedef void(* | vpn_disconnect_cb )(vpn_error_t error) |
| callback for vpn_disconnect() result | |
| typedef void(* | vpn_state_change_cb )(vpn_state_t state, const vpn_ip_addr_t *peer, const struct vpn_connect_error *) |
| state transition callback | |
| typedef void(* | vpn_stats_cb )(vpn_error_t error, uint32_t stats_groups, vpn_stats_t stats) |
| callback for vpn_get_stats() results | |
| typedef void(* | vpn_auth_cb )(vpn_auth_t auth, uint32_t auth_attrs, uint32_t allowed_save_attrs, const char *profile_name) |
| callback for authentication | |
| typedef void(* | vpn_auth_stop_cb )(void) |
| callback to cancel authentication | |
|
|
callback for authentication
|
|
|
callback to cancel authentication This callback is called to cancel any in-progress user authentication. All authentication user interfaces should be closed, and any state related to the authentication attempt should be destroyed. |
|
|
callback for vpn_connect() results
|
|
|
callback for vpn_disconnect() result
|
|
|
state transition callback
|
|
|
callback for vpn_get_stats() results
|
1.4.4