vpn_service_callbacks

A structure for VPN Service callbacks.

Synopsis:

typedef struct _vpn_service_callbacks {
    errno_t(* service_start )(void **service_ctx);
    errno_t(* service_stop )(void **service_ctx);
}vpn_service_callbacks_t;

Since:

BlackBerry 10.2.0

Data:

errno_t(* service_start)(void **service_ctx)
A function to start the VPN service.

errno_t(* service_stop)(void **service_ctx)
A function to stop the VPN service.

Library:

libvpn_ext (For the qcc command, use the -l vpn_ext option to link against this library)

Description:

These callbacks are used to start or stop a registered VPN service. Typically, these callbacks will be used to start or stop a 3rd party VPN daemon. The VPN service will be started or stopped under the control of the VPN Manager.