"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/vnstat_func.h" between
vnstat-2.8.tar.gz and vnstat-2.9.tar.gz

About: vnStat is a console-based network traffic monitor (using the /proc filesystem).

vnstat_func.h  (vnstat-2.8):vnstat_func.h  (vnstat-2.9)
skipping to change at line 13 skipping to change at line 13
typedef struct { typedef struct {
int query, setalias; int query, setalias;
int addiface, force, traffic; int addiface, force, traffic;
int livetraffic, defaultiface, removeiface, renameiface, livemode; int livetraffic, defaultiface, removeiface, renameiface, livemode;
int32_t limit; int32_t limit;
uint64_t dbifcount; uint64_t dbifcount;
char interface[32], alias[32], newifname[32], filename[512]; char interface[32], alias[32], newifname[32], filename[512];
char definterface[32], cfgfile[512], *ifacelist, jsonmode, xmlmode; char definterface[32], cfgfile[512], *ifacelist, jsonmode, xmlmode;
char databegin[18], dataend[18]; char databegin[18], dataend[18];
unsigned int alert, alertoutput, alertexit, alerttype, alertcondition;
uint64_t alertlimit;
} PARAMS; } PARAMS;
void initparams(PARAMS *p); void initparams(PARAMS *p);
void showhelp(PARAMS *p); void showhelp(PARAMS *p);
void showlonghelp(PARAMS *p); void showlonghelp(PARAMS *p);
void parseargs(PARAMS *p, int argc, char **argv); void parseargs(PARAMS *p, const int argc, char **argv);
int parsealertargs(PARAMS *p, char **argv);
void showalerthelp(void);
void showstylehelp(void); void showstylehelp(void);
void handleshowalert(PARAMS *p);
void handleremoveinterface(PARAMS *p); void handleremoveinterface(PARAMS *p);
void handlerenameinterface(PARAMS *p); void handlerenameinterface(PARAMS *p);
void handleaddinterface(PARAMS *p); void handleaddinterface(PARAMS *p);
void handlesetalias(PARAMS *p); void handlesetalias(PARAMS *p);
void handleshowdata(PARAMS *p); void handleshowdata(PARAMS *p);
void showoneinterface(PARAMS *p); void showoneinterface(PARAMS *p);
void handletrafficmeters(PARAMS *p); void handletrafficmeters(PARAMS *p);
void handleifselection(PARAMS *p); void handleifselection(PARAMS *p);
void showiflist(const int parseable); void showiflist(const int parseable);
void showdbiflist(const int parseable); void showdbiflist(const int parseable);
void validateinterface(PARAMS *p);
#endif #endif
 End of changes. 4 change blocks. 
1 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)