1#define _CRT_SECURE_NO_WARNINGS
12 char sendMSG[2 * BUFSIZ];
15 vsprintf(sendMSG, msg, l);
void cli_continue_simulation(ptrCLIENTINFO info)
void cli_pause_simulation_at(ptrCLIENTINFO info, double time)
ptrCOMMANDARRAY get_commandArray(char *text)
void write_to_file(ptrCLIENTINFO info, char *msg, int len)
void cli_clear_prompt(ptrCLIENTINFO info)
void execute_command(ptrCLIENTINFO info, ptrCOMMANDARRAY command, NETSIM_ID d)
void cli_pause_simulation(ptrCLIENTINFO info)
bool isCommandAsDeviceName(char *name)
void cli_stop_simulation(ptrCLIENTINFO info)
bool validate_command(ptrCLIENTINFO info, ptrCOMMANDARRAY command)
void send_to_socket(ptrCLIENTINFO info, char *buf, int len)
void free_commandArray(ptrCOMMANDARRAY c)
void pass_to_SDNModule(ptrCLIENTINFO info, ptrCOMMANDARRAY command)
void add_to_string(ptrCLIENTINFO info, char *sendMsg, int len)
static void commandProcessor(ptrCLIENTINFO info, char *command)
void process_command(ptrCLIENTINFO clientInfo, char *command, int len)
void send_message(ptrCLIENTINFO info, char *msg,...)