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)  

dbaccess.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  HOUR
 
struct  DAY
 
struct  MONTH
 
struct  DATA
 

Macros

#define LEGACYDBVERSION   3
 

Functions

int importlegacydb (const char *iface, const char *dirname)
 
int insertlegacydata (DATA *data, const char *iface)
 
int readdb (DATA *data, const char *iface, const char *dirname, const int force)
 
void initdb (DATA *data)
 
int validatedb (DATA *data)
 

Macro Definition Documentation

◆ LEGACYDBVERSION

#define LEGACYDBVERSION   3

Definition at line 7 of file dbaccess.h.

Function Documentation

◆ importlegacydb()

int importlegacydb ( const char *  iface,
const char *  dirname 
)

◆ initdb()

◆ insertlegacydata()

◆ readdb()

int readdb ( DATA data,
const char *  iface,
const char *  dirname,
const int  force 
)

◆ validatedb()