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)  

dbshow.c File Reference
#include "common.h"
#include "dbsql.h"
#include "misc.h"
#include "dbshow.h"
Include dependency graph for dbshow.c:

Go to the source code of this file.


void showdb (const char *interface, int qmode, const char *databegin, const char *dataend)
void showsummary (const interfaceinfo *interface, const int shortmode)
void showlist (const interfaceinfo *interface, const char *listname, const char *databegin, const char *dataend)
void showoneline (const interfaceinfo *interface)
void showhours (const interfaceinfo *interface)
int showbar (const uint64_t rx, const uint64_t tx, const uint64_t max, const int len)
void indent (int i)
int showalert (const char *interface, const AlertOutput output, const AlertExit exit, const AlertType type, const AlertCondition condition, const uint64_t limit)

Function Documentation

◆ indent()

void indent ( int  i)

Definition at line 884 of file dbshow.c.

References cfg, and CFG::ostyle.

Referenced by showlist(), and showsummary().

◆ showalert()

◆ showbar()

int showbar ( const uint64_t  rx,
const uint64_t  tx,
const uint64_t  max,
const int  len 

Definition at line 846 of file dbshow.c.

References cfg, CFG::rxchar, and CFG::txchar.

Referenced by showlist().

◆ showdb()

void showdb ( const char *  interface,
int  qmode,
const char *  databegin,
const char *  dataend 

◆ showhours()

◆ showlist()

◆ showoneline()

◆ showsummary()