$Revision: 1.23 $
Protocol config module (pc). This is the protocol that the admin uses to talk to the server.
Status: NOT REVUED, NOT TESTED
typedef struct _command Command
struct _command | |
{ | |
const char* name; | Name to be invoked. |
char* (*function)(char*,sk_conn_st*); | Function to be invoked. |
const char* help; | Command help. |
} |
static struct _command command[]
Used in: | command_help() |
process_input() |
show
* Contains the show commands
Used in: | command_show() |
set
* Contains the set commands
Used in: | command_set() |
Prototyped in: | modules/pc/protocol_config.h | |
Calls: | CO_get_authenticate() | modules/co/constants.c |
CO_get_prompt() | modules/co/constants.c | |
CO_get_welcome() | modules/co/constants.c | |
authenticate_user() | modules/pc/protocol_config.c | |
log_config() | modules/pc/protocol_config.c | |
process_input() | modules/pc/protocol_config.c | |
SK_cd_gets(), SK_cd_printf(), SK_cd_puts(), SK_close(), SK_getpeerip(), SK_getpeername(), TA_increment(), TA_setactivity(), ctime_r(), fprintf(), free(), memset(), strdup(), strlen(), time(), wr_real_free() | ||
References Variables: | SV_starttime |
Calls: | log_config() | modules/pc/protocol_config.c |
PR_get_property(), SK_cd_gets(), SK_cd_puts(), crypt(), fprintf(), strcmp(), strcpy(), strlen(), strncpy(), wr_real_malloc() | ||
Called by: | PC_interact() | modules/pc/protocol_config.c |
Calls: | find_command() | modules/pc/protocol_config.c |
show_commands() | modules/pc/protocol_config.c | |
fprintf(), sprintf(), strcpy(), strlen(), strtok(), wr_real_free(), wr_real_malloc() | ||
Called by: | command_set() | modules/pc/protocol_config.c |
command_show() | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | find_command() | modules/pc/protocol_config.c |
show_commands() | modules/pc/protocol_config.c | |
fprintf(), strcat(), strcpy(), strlen(), strtok(), wr_real_free(), wr_real_malloc() | ||
Called by: | process_input() | modules/pc/protocol_config.c |
Used in: | modules/pc/protocol_config.c | |
References Variables: | command | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Used in: | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Called by: | process_input() | modules/pc/protocol_config.c |
Used in: | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | command_execute() | modules/pc/protocol_config.c |
Used in: | modules/pc/protocol_config.c | |
References Variables: | set | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | command_execute() | modules/pc/protocol_config.c |
Used in: | modules/pc/protocol_config.c | |
References Variables: | show | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | SQ_close_connection(), SQ_execute_query(), SQ_free_result(), SQ_get_connection(), SQ_info_to_string(), SQ_result_to_string(), fprintf(), printf(), sprintf(), strcat(), strcmp(), strcpy(), strlen(), wr_real_free(), wr_real_malloc() | |
Used in: | modules/pc/protocol_config.c |
Calls: | strcmp(), strcpy(), strtok() | |
Called by: | command_execute() | modules/pc/protocol_config.c |
command_help() | modules/pc/protocol_config.c | |
process_input() | modules/pc/protocol_config.c |
Calls: | TH_get_id(), ctime_r(), printf(), time() | |
Called by: | PC_interact() | modules/pc/protocol_config.c |
authenticate_user() | modules/pc/protocol_config.c |
Process the input.static int process_input ( char* input, sk_conn_st* condat )
More:Author: ottrey
Calls: | CO_get_clear_screen() | modules/co/constants.c |
CO_get_prompt() | modules/co/constants.c | |
command_help() | modules/pc/protocol_config.c | |
command_repeat() | modules/pc/protocol_config.c | |
find_command() | modules/pc/protocol_config.c | |
SK_cd_puts(), atoi(), strncmp(), wr_real_free() | ||
Called by: | PC_interact() | modules/pc/protocol_config.c |
References Variables: | command | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | AC_asc_acl_command_set() | modules/ac/access_control.c |
NOERR() | modules/er/er.c | |
wr_string() | ||
Used in: | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | CO_const_to_string() | modules/co/constants.c |
CO_set_const() | modules/co/constants.c | |
fprintf(), printf(), sprintf(), strcpy(), strlen(), strtok(), wr_real_free(), wr_real_malloc() | ||
Used in: | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | CO_set() | modules/co/constants.c |
Used in: | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | PR_set() | |
Used in: | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | AC_to_string_header() | modules/ac/access_control.c |
SK_cd_puts(), rx_walk_tree(), sprintf(), wr_real_free(), wr_string() | ||
Used in: | modules/pc/protocol_config.c | |
References Functions: | AC_rxwalkhook_print() | modules/ac/access_control.c |
References Variables: | act_runtime | modules/ac/access_control.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | AC_acl_to_string_header() | modules/ac/access_control.c |
SK_cd_puts(), rx_walk_tree(), sprintf(), wr_real_free(), wr_string() | ||
Used in: | modules/pc/protocol_config.c | |
References Functions: | AC_rxwalkhook_print_acl() | modules/ac/access_control.c |
References Variables: | act_acl | modules/ac/access_control.c |
Calls: | fprintf(), sprintf(), strcat(), strcpy(), strlen(), wr_real_malloc() | |
Called by: | command_execute() | modules/pc/protocol_config.c |
command_help() | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | CO_const_to_string() | modules/co/constants.c |
fprintf(), strcpy(), strlen(), strtok(), wr_real_free(), wr_real_malloc() | ||
Used in: | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | CO_to_string() | modules/co/constants.c |
Used in: | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | PR_to_string() | |
Used in: | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | TA_tostring() | |
Used in: | modules/pc/protocol_config.c |
Prototyped in: | modules/pc/protocol_config.c | |
Calls: | wr_string() | |
Used in: | modules/pc/protocol_config.c |