OpenVPN
Data Structures | Functions
log_v3.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "openvpn-plugin.h"
Include dependency graph for log_v3.c:

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 int openvpn_plugin_open_v3 (const int v3structver, struct openvpn_plugin_args_open_in const *args, struct openvpn_plugin_args_open_return *ret)
 
void show (const int type, const char *argv[], const char *envp[])
 
static void x509_print_info (X509 *x509crt)
 
OPENVPN_EXPORT int openvpn_plugin_func_v3 (const int version, struct openvpn_plugin_args_func_in const *args, struct openvpn_plugin_args_func_return *retptr)
 
OPENVPN_EXPORT void openvpn_plugin_close_v1 (openvpn_plugin_handle_t handle)
 

Function Documentation

◆ get_env()

static const char* get_env ( const char *  name,
const char *  envp[] 
)
static

Definition at line 54 of file log_v3.c.

References OPENVPN_EXPORT.

Referenced by openvpn_plugin_func_v3().

◆ openvpn_plugin_close_v1()

OPENVPN_EXPORT void openvpn_plugin_close_v1 ( openvpn_plugin_handle_t  handle)

Definition at line 287 of file log_v3.c.

References free.

◆ openvpn_plugin_func_v3()

OPENVPN_EXPORT int openvpn_plugin_func_v3 ( const int  version,
struct openvpn_plugin_args_func_in const *  args,
struct openvpn_plugin_args_func_return retptr 
)

◆ openvpn_plugin_open_v3()

OPENVPN_EXPORT int openvpn_plugin_open_v3 ( const int  v3structver,
struct openvpn_plugin_args_open_in const *  args,
struct openvpn_plugin_args_open_return ret 
)

◆ show()

void show ( const int  type,
const char *  argv[],
const char *  envp[] 
)

◆ x509_print_info()

static void x509_print_info ( X509 *  x509crt)
static

Definition at line 192 of file log_v3.c.

References OPENVPN_EXPORT.

Referenced by openvpn_plugin_func_v3().