File: dbops.h

package info (click to toggle)
cucipop 1.31-13
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 292 kB
  • ctags: 394
  • sloc: ansic: 2,380; sh: 157; makefile: 103
file content (16 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*$Id: dbops.h,v 1.3 1998/05/13 16:57:40 srb Exp $*/

struct stateinfo {
 time_t lastsuccess,lastabort;
 int brokenstate;
 unsigned char readbulletin[MAXBULLETINS/8];
};

extern const char statedbfile[],cplib[];

void initappdb();
void exitappdb();
void opendb();
void closedb();
struct stateinfo*getstate(const char*key,time_t curt);
void putstate(const char*key,const struct stateinfo*state);