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
Go to the documentation of this file.
1#ifndef VNSTATI_H
2#define VNSTATI_H
3
4typedef struct {
5 int cache, help;
6 int32_t limit;
7 char interface[32], filename[512], cfgfile[512];
8 FILE *pngout;
9} IPARAMS;
10
11void initiparams(IPARAMS *p);
12void showihelp(IPARAMS *p);
13void parseargs(IPARAMS *p, IMAGECONTENT *ic, int argc, char **argv);
14void validateinput(IPARAMS *p);
17void validateoutput(IPARAMS *p);
18void writeoutput(IPARAMS *p, IMAGECONTENT *ic);
19#if HAVE_DECL_GDIMAGEFILE
20void showsupportedfileextensions(void);
21#endif
22
23#endif
Definition: vnstati.h:4
FILE * pngout
Definition: vnstati.h:8
int32_t limit
Definition: vnstati.h:6
int cache
Definition: vnstati.h:5
void validateinput(IPARAMS *p)
Definition: vnstati.c:528
void handlecaching(IPARAMS *p, IMAGECONTENT *ic)
Definition: vnstati.c:537
void handledatabase(IPARAMS *p, IMAGECONTENT *ic)
Definition: vnstati.c:560
void writeoutput(IPARAMS *p, IMAGECONTENT *ic)
Definition: vnstati.c:625
void initiparams(IPARAMS *p)
Definition: vnstati.c:92
void showihelp(IPARAMS *p)
Definition: vnstati.c:107
void parseargs(IPARAMS *p, IMAGECONTENT *ic, int argc, char **argv)
Definition: vnstati.c:164
void validateoutput(IPARAMS *p)
Definition: vnstati.c:606