Teonet library
0.4.7
|
#include <net_cli.h>
Data Fields | |
int | completion_callback |
struct cli_command * | commands |
int(* | auth_callback )(const char *, const char *) |
int(* | regular_callback )(struct cli_def *cli) |
int(* | enable_callback )(const char *) |
char * | banner |
struct unp * | users |
char * | enable_password |
char * | history [MAX_HISTORY] |
char | showprompt |
char * | promptchar |
char * | hostname |
char * | modestring |
int | privilege |
int | mode |
int | state |
struct cli_filter * | filters |
void(* | print_callback )(struct cli_def *cli, const char *string) |
FILE * | client |
void * | conn |
void * | service |
char * | commandname |
char * | buffer |
unsigned | buf_size |
struct timeval | timeout_tm |
time_t | idle_timeout |
int(* | idle_timeout_callback )(struct cli_def *) |
time_t | last_action |
int | telnet_protocol |
void * | user_context |
ksnetEvMgrClass * | ke |
unsigned int | regular_count |
int | debug_regular |
int(* cli_def::auth_callback)(const char *, const char *) |
Referenced by cli_init(), cli_loop(), and cli_set_auth_callback().
char* cli_def::banner |
Referenced by cli_done(), cli_loop(), and cli_set_banner().
unsigned cli_def::buf_size |
Referenced by cli_init().
char* cli_def::buffer |
Referenced by cli_done(), and cli_init().
FILE* cli_def::client |
Referenced by cli_count_filter(), cli_count_filter_init(), cli_loop(), cli_match_filter_init(), and cli_range_filter_init().
char* cli_def::commandname |
Referenced by cli_command_name(), and cli_done().
struct cli_command* cli_def::commands |
int cli_def::completion_callback |
void* cli_def::conn |
int cli_def::debug_regular |
Referenced by cli_init().
int(* cli_def::enable_callback)(const char *) |
Referenced by cli_init(), cli_int_enable(), and cli_set_enable_callback().
char* cli_def::enable_password |
Referenced by cli_allow_enable(), and cli_int_enable().
struct cli_filter* cli_def::filters |
char* cli_def::history[MAX_HISTORY] |
Referenced by cli_free_history(), and cli_int_history().
char* cli_def::hostname |
Referenced by cli_done(), and cli_set_hostname().
time_t cli_def::idle_timeout |
Referenced by cli_loop(), and cli_set_idle_timeout().
int(* cli_def::idle_timeout_callback)(struct cli_def *) |
Referenced by cli_set_idle_timeout_callback().
ksnetEvMgrClass* cli_def::ke |
Referenced by cli_init(), and cli_loop().
time_t cli_def::last_action |
Referenced by cli_loop(), and cli_set_idle_timeout().
int cli_def::mode |
Referenced by cli_init(), cli_int_exit(), cli_set_configmode(), and cli_show_help().
char* cli_def::modestring |
Referenced by cli_done(), and cli_set_modestring().
void(* cli_def::print_callback)(struct cli_def *cli, const char *string) |
Referenced by cli_print_callback().
int cli_def::privilege |
Referenced by cli_init(), cli_int_enable(), cli_set_privilege(), and cli_show_help().
char* cli_def::promptchar |
Referenced by cli_done(), and cli_set_promptchar().
int(* cli_def::regular_callback)(struct cli_def *cli) |
Referenced by cli_init(), and cli_regular().
unsigned int cli_def::regular_count |
Referenced by cli_init().
void* cli_def::service |
Referenced by cli_int_exit().
char cli_def::showprompt |
Referenced by cli_reprompt().
int cli_def::state |
Referenced by cli_int_enable(), and cli_loop().
int cli_def::telnet_protocol |
Referenced by cli_init(), cli_loop(), and cli_telnet_protocol().
struct timeval cli_def::timeout_tm |
Referenced by cli_init(), and cli_regular_interval().
void* cli_def::user_context |
Referenced by cli_get_context(), and cli_set_context().
struct unp* cli_def::users |
Referenced by cli_allow_user(), cli_deny_user(), cli_done(), and cli_loop().