volta.h
changeset 17 bd746609ba46
parent 15 2706fc514dea
child 18 d4ce82194b64
equal deleted inserted replaced
16:e6a640ad2cc2 17:bd746609ba46
    82  */
    82  */
    83 struct v_globals {
    83 struct v_globals {
    84 	unsigned short int debugmode; /* debug level */
    84 	unsigned short int debugmode; /* debug level */
    85 	char dbname[128];             /* path to database file */
    85 	char dbname[128];             /* path to database file */
    86 	short int db_fd;              /* opened db file descriptor */
    86 	short int db_fd;              /* opened db file descriptor */
       
    87 	struct cdb db;                /* the cdb struct */
    87 
    88 
    88 	struct {
    89 	struct {
    89 		time_t start;             /* start time */
    90 		time_t start;             /* start time */
    90 		unsigned long int lines;  /* line count for determining speed */
    91 		unsigned long int lines;  /* line count for determining speed */
    91 		time_t db_lastcheck;      /* reopen db time */
    92 		time_t db_lastcheck;      /* reopen db time */