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 unsigned int kid, const char *extra, unsigned int timeout)
 
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)
 
unsigned int(* remote_entry_count )(void *arg)
 
bool(* remote_entry_get )(void *arg, unsigned int index, char **remote)
 

Detailed Description

Definition at line 173 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 188 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 unsigned int kid, const char *extra, unsigned int timeout)

Definition at line 195 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 184 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 200 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 183 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 187 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 182 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 201 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 202 of file manage.h.

Referenced by init_management_callback_p2p(), and man_remote().

◆ remote_entry_count

unsigned int(* management_callback::remote_entry_count) (void *arg)

◆ remote_entry_get

bool(* management_callback::remote_entry_get) (void *arg, unsigned int index, char **remote)

Definition at line 207 of file manage.h.

Referenced by init_management_callback_p2p(), and man_remote_entry_get().

◆ send_cc_message

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

Definition at line 186 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 181 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: