Functions | |
| DLL_EXPORT_NAME vpn_error_t CDECLAPI | vpn_connect (vpn_channel_t channel, const char *profile, const char *group_name, const char *password, uint32_t option_flags) |
| try to connect using a given profile. | |
| DLL_EXPORT_NAME vpn_error_t CDECLAPI | vpn_acknowledge_banner (vpn_channel_t channel, int banner_accepted) |
| used to return users response to the banner given in vpn_connect_cb() | |
| DLL_EXPORT_NAME vpn_error_t CDECLAPI | vpn_disconnect (vpn_channel_t channel) |
| disconnect the vpn tunnel. | |
| DLL_EXPORT_NAME vpn_error_t CDECLAPI | vpn_get_stats (vpn_channel_t channel, uint32_t stats_groups) |
| request statistics to be sent | |
| DLL_EXPORT_NAME vpn_error_t CDECLAPI | vpn_reset_stats (vpn_channel_t channel) |
| Reset byte and packet counts in the statistics. | |
| DLL_EXPORT_NAME vpn_error_t CDECLAPI | vpn_auth_respond (vpn_channel_t channel, vpn_auth_t auth, uint32_t save_attrs) |
| reply to a fp_auth callback. | |
| DLL_EXPORT_NAME vpn_error_t CDECLAPI | vpn_auth_abort (vpn_channel_t channel, vpn_auth_t auth) |
| negative reply to a fp_auth callback. | |
|
||||||||||||
|
used to return users response to the banner given in vpn_connect_cb()
|
|
||||||||||||
|
negative reply to a fp_auth callback. This function is called to cancel an authentication attempt. msgtype VPN_MSGTYPE_AUTH is needed to send.
|
|
||||||||||||||||
|
reply to a fp_auth callback. This function is called to pass back authentication attributes to the headend. msgtype VPN_MSGTYPE_AUTH is needed to send.
|
|
||||||||||||||||||||||||
|
try to connect using a given profile.
|
|
|
disconnect the vpn tunnel. causes fp_disconnect to be called with the result of the disconnect attempt. No VPN_MSGTYPE flag is needed to send. |
|
||||||||||||
|
request statistics to be sent causes fp_statistics to be called. no mstype needed to send.
|
|
|
Reset byte and packet counts in the statistics. no mstype needed to send.
|
1.4.4