vnstat  2.9
About: vnStat is a console-based network traffic monitor (using the /proc filesystem).
  Fossies Dox: vnstat-2.9.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

vnstati.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  IPARAMS
 

Functions

void initiparams (IPARAMS *p)
 
void showihelp (IPARAMS *p)
 
void parseargs (IPARAMS *p, IMAGECONTENT *ic, int argc, char **argv)
 
void validateinput (IPARAMS *p)
 
void handlecaching (IPARAMS *p, IMAGECONTENT *ic)
 
void handledatabase (IPARAMS *p, IMAGECONTENT *ic)
 
void validateoutput (IPARAMS *p)
 
void writeoutput (IPARAMS *p, IMAGECONTENT *ic)
 

Function Documentation

◆ handlecaching()

void handlecaching ( IPARAMS p,
IMAGECONTENT ic 
)

Definition at line 537 of file vnstati.c.

References IPARAMS::cache, IMAGECONTENT::current, debug, and IPARAMS::filename.

Referenced by main().

◆ handledatabase()

◆ initiparams()

void initiparams ( IPARAMS p)

◆ parseargs()

◆ showihelp()

void showihelp ( IPARAMS p)

Definition at line 107 of file vnstati.c.

References cfg, getversion(), IPARAMS::interface, and CFG::largefonts.

Referenced by parseargs().

◆ validateinput()

void validateinput ( IPARAMS p)

Definition at line 528 of file vnstati.c.

References cfg, IPARAMS::filename, and CFG::qmode.

Referenced by main().

◆ validateoutput()

void validateoutput ( IPARAMS p)

Definition at line 606 of file vnstati.c.

References IPARAMS::filename.

Referenced by main().

◆ writeoutput()

void writeoutput ( IPARAMS p,
IMAGECONTENT ic 
)

Definition at line 625 of file vnstati.c.

References IPARAMS::filename, IMAGECONTENT::im, and IPARAMS::pngout.

Referenced by main().