Callback function prototype.
#include <vpnext/vpn_ext_type.h>
typedef errno_t(* vpn_ext_callback_t)(vpn_ext_context context, char *in_buffer, unsigned int in_buffer_len, char **pOut_buffer, unsigned int *pOut_buffer_len);
The VPN Extension context.
The input message to the callback.
The input message length.
The output message from the callback. If this parameter is set to NULL, then there is no message to return. If it's set to in_buffer, then the input buffer is reused for output. If it's not set to either of these values, then the buffer should be allocated by the callback function. After the buffer is used, it will be freed by the caller after the message is sent to the VPN Manager.
The output message length.
BlackBerry 10.2.0