OpenVPN
Data Fields
management_callback Struct Reference

#include <manage.h>

Data Fields

void * arg
 
unsigned int flags
 
void(* status )(void *arg, const int version, struct status_output *so)
 
void(* show_net )(void *arg, const int msglevel)
 
int(* kill_by_cn )(void *arg, const char *common_name)
 
int(* kill_by_addr )(void *arg, const in_addr_t addr, const int port)
 
void(* delete_event )(void *arg, event_t event)
 
int(* n_clients )(void *arg)
 
bool(* send_cc_message )(void *arg, const char *message, const char *parameter)
 
bool(* kill_by_cid )(void *arg, const unsigned long cid, const char *kill_msg)
 
bool(* client_auth )(void *arg, const unsigned long cid, const unsigned int mda_key_id, const bool auth, const char *reason, const char *client_reason, struct buffer_list *cc_config)
 
bool(* client_pending_auth )(void *arg, const unsigned long cid, const char *url)
 
char *(* get_peer_info )(void *arg, const unsigned long cid)
 
bool(* proxy_cmd )(void *arg, const char **p)
 
bool(* remote_cmd )(void *arg, const char **p)
 

Detailed Description

Definition at line 152 of file manage.h.

Field Documentation

◆ arg

void* management_callback::arg

◆ client_auth

bool(* management_callback::client_auth) (void *arg, const unsigned long cid, const unsigned int mda_key_id, const bool auth, const char *reason, const char *client_reason, struct buffer_list *cc_config)

Definition at line 167 of file manage.h.

Referenced by in_extra_dispatch(), init_management_callback_multi(), and man_client_deny().

◆ client_pending_auth

bool(* management_callback::client_pending_auth) (void *arg, const unsigned long cid, const char *url)

Definition at line 174 of file manage.h.

Referenced by init_management_callback_multi(), and man_client_pending_auth().

◆ delete_event

void(* management_callback::delete_event) (void *arg, event_t event)

Definition at line 163 of file manage.h.

Referenced by init_management_callback_multi(), and man_close_socket().

◆ flags

unsigned int management_callback::flags

◆ get_peer_info

char*(* management_callback::get_peer_info) (void *arg, const unsigned long cid)

Definition at line 177 of file manage.h.

Referenced by init_management_callback_multi(), and man_output_peer_info_env().

◆ kill_by_addr

int(* management_callback::kill_by_addr) (void *arg, const in_addr_t addr, const int port)

Definition at line 162 of file manage.h.

Referenced by init_management_callback_multi(), and man_kill().

◆ kill_by_cid

bool(* management_callback::kill_by_cid) (void *arg, const unsigned long cid, const char *kill_msg)

Definition at line 166 of file manage.h.

Referenced by init_management_callback_multi(), and man_client_kill().

◆ kill_by_cn

int(* management_callback::kill_by_cn) (void *arg, const char *common_name)

Definition at line 161 of file manage.h.

Referenced by init_management_callback_multi(), and man_kill().

◆ n_clients

int(* management_callback::n_clients) (void *arg)

◆ proxy_cmd

bool(* management_callback::proxy_cmd) (void *arg, const char **p)

Definition at line 183 of file manage.h.

Referenced by init_management_callback_p2p(), and man_proxy().

◆ remote_cmd

bool(* management_callback::remote_cmd) (void *arg, const char **p)

Definition at line 184 of file manage.h.

Referenced by init_management_callback_p2p(), and man_remote().

◆ send_cc_message

bool(* management_callback::send_cc_message) (void *arg, const char *message, const char *parameter)

Definition at line 165 of file manage.h.

Referenced by init_management_callback_p2p(), and man_send_cc_message().

◆ show_net

void(* management_callback::show_net) (void *arg, const int msglevel)

Definition at line 160 of file manage.h.

Referenced by init_management_callback_multi(), init_management_callback_p2p(), and man_net().

◆ status

void(* management_callback::status) (void *arg, const int version, struct status_output *so)

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