OpenVPN
|
Arguments used to transport variables to and from the plug-in. More...
#include <openvpn-plugin.h>
Data Fields | |
const int | type |
const char **const | argv |
const char **const | envp |
openvpn_plugin_handle_t | handle |
void * | per_client_context |
int | current_cert_depth |
openvpn_x509_cert_t * | current_cert |
Arguments used to transport variables to and from the plug-in.
The struct openvpn_plugin_args_func is only used by the openvpn_plugin_func_v3() function.
STRUCT MEMBERS:
type : one of the PLUGIN_x types.
argv : a NULL-terminated array of "command line" options which would normally be passed to the script. argv[0] is the dynamic library pathname.
envp : a NULL-terminated array of OpenVPN-set environmental variables in "name=value" format. Note that for security reasons, these variables are not actually written to the "official" environmental variable store of the process.
handle : Pointer to a global plug-in context, created by the plug-in's openvpn_plugin_open_v3().
per_client_context : the per-client context pointer which was returned by openvpn_plugin_client_constructor_v1, if defined.
current_cert_depth : Certificate depth of the certificate being passed over
*current_cert : X509 Certificate object received from the client
Definition at line 429 of file openvpn-plugin.h.
const char** const openvpn_plugin_args_func_in::argv |
Definition at line 432 of file openvpn-plugin.h.
Referenced by openvpn_plugin_func_v3().
openvpn_x509_cert_t* openvpn_plugin_args_func_in::current_cert |
Definition at line 437 of file openvpn-plugin.h.
Referenced by openvpn_plugin_func_v3(), plugin_call_item(), and tls_verify().
int openvpn_plugin_args_func_in::current_cert_depth |
Definition at line 436 of file openvpn-plugin.h.
Referenced by openvpn_plugin_func_v3().
const char** const openvpn_plugin_args_func_in::envp |
Definition at line 433 of file openvpn-plugin.h.
Referenced by openvpn_plugin_func_v3(), plugin_call_item(), and tls_final().
openvpn_plugin_handle_t openvpn_plugin_args_func_in::handle |
Definition at line 434 of file openvpn-plugin.h.
Referenced by client_store(), openvpn_plugin_func_v3(), server_store(), tls_final(), and tls_verify().
void* openvpn_plugin_args_func_in::per_client_context |
Definition at line 435 of file openvpn-plugin.h.
Referenced by client_store(), openvpn_plugin_func_v3(), plugin_call_item(), server_store(), tls_final(), and tls_verify().
const int openvpn_plugin_args_func_in::type |
Definition at line 431 of file openvpn-plugin.h.
Referenced by openvpn_plugin_func_v3(), and plugin_call_item().