OpenVPN
Data Fields
openvpn_plugin_args_open_in Struct Reference

Arguments used to transport variables to the plug-in. More...

#include <openvpn-plugin.h>

Collaboration diagram for openvpn_plugin_args_open_in:
Collaboration graph
[legend]

Data Fields

const int type_mask
 
const char **const argv
 
const char **const envp
 
struct openvpn_plugin_callbackscallbacks
 
const ovpnSSLAPI ssl_api
 
const char * ovpn_version
 
const unsigned int ovpn_version_major
 
const unsigned int ovpn_version_minor
 
const char *const ovpn_version_patch
 

Detailed Description

Arguments used to transport variables to the plug-in.

The struct openvpn_plugin_args_open_in is only used by the openvpn_plugin_open_v3() function.

STRUCT MEMBERS

type_mask : Set by OpenVPN to the logical OR of all script types which this version of OpenVPN supports.

argv : a NULL-terminated array of options provided to the OpenVPN "plug-in" directive. 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.

callbacks : a pointer to the plug-in callback function struct.

Definition at line 328 of file openvpn-plugin.h.

Field Documentation

◆ argv

const char** const openvpn_plugin_args_open_in::argv

Definition at line 331 of file openvpn-plugin.h.

Referenced by openvpn_plugin_open_v3().

◆ callbacks

struct openvpn_plugin_callbacks* openvpn_plugin_args_open_in::callbacks

Definition at line 333 of file openvpn-plugin.h.

Referenced by openvpn_plugin_open_v3().

◆ envp

const char** const openvpn_plugin_args_open_in::envp

Definition at line 332 of file openvpn-plugin.h.

Referenced by openvpn_plugin_open_v3(), and plugin_open_item().

◆ ovpn_version

const char* openvpn_plugin_args_open_in::ovpn_version

Definition at line 335 of file openvpn-plugin.h.

Referenced by openvpn_plugin_open_v3().

◆ ovpn_version_major

const unsigned int openvpn_plugin_args_open_in::ovpn_version_major

Definition at line 336 of file openvpn-plugin.h.

Referenced by openvpn_plugin_open_v3().

◆ ovpn_version_minor

const unsigned int openvpn_plugin_args_open_in::ovpn_version_minor

Definition at line 337 of file openvpn-plugin.h.

Referenced by openvpn_plugin_open_v3().

◆ ovpn_version_patch

const char* const openvpn_plugin_args_open_in::ovpn_version_patch

Definition at line 338 of file openvpn-plugin.h.

Referenced by openvpn_plugin_open_v3().

◆ ssl_api

const ovpnSSLAPI openvpn_plugin_args_open_in::ssl_api

Definition at line 334 of file openvpn-plugin.h.

Referenced by openvpn_plugin_open_v3().

◆ type_mask

const int openvpn_plugin_args_open_in::type_mask

Definition at line 330 of file openvpn-plugin.h.


The documentation for this struct was generated from the following file: