NetSim Source Code Help
Loading...
Searching...
No Matches
CLIInterface.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  stru_cli_info
 
struct  stru_commandArray
 

Macros

#define _NETSIM_CLIINTERFACE_H_
 
#define NETSIM_ID   UINT
 

Typedefs

typedef struct stru_cli_info CLIINFO
 
typedef struct stru_cli_infoptrCLIINFO
 
typedef struct stru_commandArray COMMANDARRAY
 
typedef struct stru_commandArrayptrCOMMANDARRAY
 
typedef void * CLIHANDLE
 

Functions

ptrCOMMANDARRAY CLI_GET_CMDARRAY_FROM_HANDLE (CLIHANDLE handle)
 
void CLI_SEND_MESSAGE (CLIHANDLE handle, char *msg,...)
 
void CLI_STOP_WAITING (CLIHANDLE handle)
 
ptrCOMMANDARRAY remove_first_word_from_commandArray (ptrCOMMANDARRAY c)
 
char * CLI_EXECUTE_COMMAND (ptrCOMMANDARRAY cmd, NETSIM_ID d, int *len, bool(*multResp)(void *, char *msg, int len, bool isMore), void *arg, bool *isMore)
 
void CLI_PRINT_MESSAGE (CLIHANDLE handle, char *msg, int len)
 

Macro Definition Documentation

◆ _NETSIM_CLIINTERFACE_H_

#define _NETSIM_CLIINTERFACE_H_

Definition at line 36 of file CLIInterface.h.

◆ NETSIM_ID

#define NETSIM_ID   UINT

Definition at line 46 of file CLIInterface.h.

Typedef Documentation

◆ CLIHANDLE

typedef void* CLIHANDLE

Definition at line 64 of file CLIInterface.h.

◆ CLIINFO

typedef struct stru_cli_info CLIINFO

◆ COMMANDARRAY

◆ ptrCLIINFO

typedef struct stru_cli_info * ptrCLIINFO

◆ ptrCOMMANDARRAY

Function Documentation

◆ CLI_EXECUTE_COMMAND()

char * CLI_EXECUTE_COMMAND ( ptrCOMMANDARRAY  cmd,
NETSIM_ID  d,
int *  len,
bool(*)(void *, char *msg, int len, bool isMore)  multResp,
void *  arg,
bool *  isMore 
)

Definition at line 153 of file CLIInterpretor.c.

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

◆ CLI_GET_CMDARRAY_FROM_HANDLE()

ptrCOMMANDARRAY CLI_GET_CMDARRAY_FROM_HANDLE ( CLIHANDLE  handle)

Definition at line 117 of file CLIInterpretor.c.

Here is the caller graph for this function:

◆ CLI_PRINT_MESSAGE()

void CLI_PRINT_MESSAGE ( CLIHANDLE  handle,
char *  msg,
int  len 
)

Definition at line 182 of file CLIInterpretor.c.

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

◆ CLI_SEND_MESSAGE()

void CLI_SEND_MESSAGE ( CLIHANDLE  handle,
char *  msg,
  ... 
)

Definition at line 132 of file CLIInterpretor.c.

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

◆ CLI_STOP_WAITING()

void CLI_STOP_WAITING ( CLIHANDLE  handle)

Definition at line 143 of file CLIInterpretor.c.

Here is the caller graph for this function:

◆ remove_first_word_from_commandArray()

ptrCOMMANDARRAY remove_first_word_from_commandArray ( ptrCOMMANDARRAY  c)

Definition at line 70 of file Command.c.

Here is the caller graph for this function: