NetSim Source Code Help
Loading...
Searching...
No Matches
FileInput.c File Reference
#include "main.h"
#include "NetSim_utility.h"
#include <signal.h>
#include "CLI.h"
Include dependency graph for FileInput.c:

Go to the source code of this file.

Functions

void set_fileClientInfo (ptrCLIENTINFO info)
 
ptrCLIENTINFO get_fileClientInfo ()
 
void read_file_and_execute (FILE *fp)
 
void write_to_file (ptrCLIENTINFO info, char *msg, int len)
 

Variables

static ptrCLIENTINFO fileClientInfo = NULL
 

Function Documentation

◆ get_fileClientInfo()

ptrCLIENTINFO get_fileClientInfo ( )

Definition at line 26 of file FileInput.c.

Here is the caller graph for this function:

◆ read_file_and_execute()

void read_file_and_execute ( FILE *  fp)

Definition at line 31 of file FileInput.c.

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

◆ set_fileClientInfo()

void set_fileClientInfo ( ptrCLIENTINFO  info)

Definition at line 21 of file FileInput.c.

Here is the caller graph for this function:

◆ write_to_file()

void write_to_file ( ptrCLIENTINFO  info,
char *  msg,
int  len 
)

Definition at line 93 of file FileInput.c.

Here is the caller graph for this function:

Variable Documentation

◆ fileClientInfo

ptrCLIENTINFO fileClientInfo = NULL
static

Definition at line 19 of file FileInput.c.