NetSim Source Code Help
Loading...
Searching...
No Matches
commandProcessor.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <Ws2tcpip.h>
#include <windows.h>
#include <stdbool.h>
#include "CLI.h"
Include dependency graph for commandProcessor.c:

Go to the source code of this file.

Macros

#define _CRT_SECURE_NO_WARNINGS
 

Functions

void send_message (ptrCLIENTINFO info, char *msg,...)
 
static void commandProcessor (ptrCLIENTINFO info, char *command)
 
void process_command (ptrCLIENTINFO clientInfo, char *command, int len)
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_WARNINGS

#define _CRT_SECURE_NO_WARNINGS

Definition at line 1 of file commandProcessor.c.

Function Documentation

◆ commandProcessor()

static void commandProcessor ( ptrCLIENTINFO  info,
char *  command 
)
static

Definition at line 24 of file commandProcessor.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_command()

void process_command ( ptrCLIENTINFO  clientInfo,
char *  command,
int  len 
)

Definition at line 56 of file commandProcessor.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ send_message()

void send_message ( ptrCLIENTINFO  info,
char *  msg,
  ... 
)

Definition at line 10 of file commandProcessor.c.

Here is the call graph for this function:
Here is the caller graph for this function: