"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dbsql.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).

dbsql.h  (vnstat-2.8):dbsql.h  (vnstat-2.9)
skipping to change at line 46 skipping to change at line 46
int db_close(void); int db_close(void);
int db_exec(const char *sql); int db_exec(const char *sql);
int db_create(void); int db_create(void);
int db_addinterface(const char *iface); int db_addinterface(const char *iface);
int db_removeinterface(const char *iface); int db_removeinterface(const char *iface);
int db_renameinterface(const char *iface, const char *newifname); int db_renameinterface(const char *iface, const char *newifname);
uint64_t db_getinterfacecount(void); uint64_t db_getinterfacecount(void);
uint64_t db_getinterfacecountbyname(const char *iface); uint64_t db_getinterfacecountbyname(const char *iface);
sqlite3_int64 db_getinterfaceid(const char *iface, const int createifnotfound); sqlite3_int64 db_getinterfaceid(const char *iface, const int createifnotfound);
char *db_getinterfaceidin(const char *iface); char *db_getinterfaceidin(const char *iface);
int db_setinterfacebyalias(char *iface, const char *alias, const int matchmethod );
int db_setactive(const char *iface, const int active); int db_setactive(const char *iface, const int active);
int db_setupdated(const char *iface, const time_t timestamp); int db_setupdated(const char *iface, const time_t timestamp);
int db_setcounters(const char *iface, const uint64_t rxcounter, const uint64_t t xcounter); int db_setcounters(const char *iface, const uint64_t rxcounter, const uint64_t t xcounter);
int db_getcounters(const char *iface, uint64_t *rxcounter, uint64_t *txcounter); int db_getcounters(const char *iface, uint64_t *rxcounter, uint64_t *txcounter);
int db_getinterfaceinfo(const char *iface, interfaceinfo *info); int db_getinterfaceinfo(const char *iface, interfaceinfo *info);
int db_setalias(const char *iface, const char *alias); int db_setalias(const char *iface, const char *alias);
int db_setinfo(const char *name, const char *value, const int createifnotfound); int db_setinfo(const char *name, const char *value, const int createifnotfound);
char *db_getinfo(const char *name); char *db_getinfo(const char *name);
int db_getiflist(iflist **ifl); int db_getiflist(iflist **ifl);
int db_getiflist_sorted(iflist **ifl, const int orderbytraffic); int db_getiflist_sorted(iflist **ifl, const int orderbytraffic);
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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