OpenVPN
|
Go to the source code of this file.
Data Structures | |
struct | plugin_context |
Functions | |
static const char * | get_env (const char *name, const char *envp[]) |
OPENVPN_EXPORT openvpn_plugin_handle_t | openvpn_plugin_open_v1 (unsigned int *type_mask, const char *argv[], const char *envp[]) |
void | show (const int type, const char *argv[], const char *envp[]) |
OPENVPN_EXPORT int | openvpn_plugin_func_v1 (openvpn_plugin_handle_t handle, const int type, const char *argv[], const char *envp[]) |
OPENVPN_EXPORT void | openvpn_plugin_close_v1 (openvpn_plugin_handle_t handle) |
|
static |
Definition at line 51 of file log.c.
Referenced by openvpn_plugin_func_v1().
OPENVPN_EXPORT void openvpn_plugin_close_v1 | ( | openvpn_plugin_handle_t | handle | ) |
OPENVPN_EXPORT int openvpn_plugin_func_v1 | ( | openvpn_plugin_handle_t | handle, |
const int | type, | ||
const char * | argv[], | ||
const char * | envp[] | ||
) |
Definition at line 176 of file log.c.
References get_env(), OPENVPN_PLUGIN_AUTH_USER_PASS_VERIFY, OPENVPN_PLUGIN_FUNC_ERROR, OPENVPN_PLUGIN_FUNC_SUCCESS, plugin_context::password, show(), and plugin_context::username.
OPENVPN_EXPORT openvpn_plugin_handle_t openvpn_plugin_open_v1 | ( | unsigned int * | type_mask, |
const char * | argv[], | ||
const char * | envp[] | ||
) |
Definition at line 73 of file log.c.
References OPENVPN_PLUGIN_AUTH_USER_PASS_VERIFY, OPENVPN_PLUGIN_CLIENT_CONNECT_V2, OPENVPN_PLUGIN_CLIENT_DISCONNECT, OPENVPN_PLUGIN_DOWN, OPENVPN_PLUGIN_IPCHANGE, OPENVPN_PLUGIN_LEARN_ADDRESS, OPENVPN_PLUGIN_MASK, OPENVPN_PLUGIN_ROUTE_UP, OPENVPN_PLUGIN_TLS_FINAL, OPENVPN_PLUGIN_TLS_VERIFY, and OPENVPN_PLUGIN_UP.
void show | ( | const int | type, |
const char * | argv[], | ||
const char * | envp[] | ||
) |
Definition at line 112 of file log.c.
References OPENVPN_PLUGIN_AUTH_USER_PASS_VERIFY, OPENVPN_PLUGIN_CLIENT_CONNECT_V2, OPENVPN_PLUGIN_CLIENT_DISCONNECT, OPENVPN_PLUGIN_DOWN, OPENVPN_PLUGIN_IPCHANGE, OPENVPN_PLUGIN_LEARN_ADDRESS, OPENVPN_PLUGIN_ROUTE_UP, OPENVPN_PLUGIN_TLS_FINAL, OPENVPN_PLUGIN_TLS_VERIFY, and OPENVPN_PLUGIN_UP.
Referenced by openvpn_plugin_func_v1().