41 |
int openflags; /* flags of xxxx_open() */ |
int openflags; /* flags of xxxx_open() */ |
42 |
int ioflags; /* flags of xxxx_first() */ |
int ioflags; /* flags of xxxx_first() */ |
43 |
char *lastdat; /* the data of last located record */ |
char *lastdat; /* the data of last located record */ |
44 |
|
int lastsize; /* the size of the lastdat */ |
45 |
regex_t *preg; /* compiled regular expression */ |
regex_t *preg; /* compiled regular expression */ |
46 |
/* |
/* |
47 |
* (2) DB185 PART |
* (2) DB185 PART |
68 |
DBOP *dbop_open(const char *, int, int, int); |
DBOP *dbop_open(const char *, int, int, int); |
69 |
const char *dbop_get(DBOP *, const char *); |
const char *dbop_get(DBOP *, const char *); |
70 |
void dbop_put(DBOP *, const char *, const char *); |
void dbop_put(DBOP *, const char *, const char *); |
71 |
|
void dbop_put_withlen(DBOP *, const char *, const char *, int); |
72 |
void dbop_delete(DBOP *, const char *); |
void dbop_delete(DBOP *, const char *); |
73 |
void dbop_update(DBOP *, const char *, const char *); |
void dbop_update(DBOP *, const char *, const char *); |
74 |
const char *dbop_first(DBOP *, const char *, regex_t *, int); |
const char *dbop_first(DBOP *, const char *, regex_t *, int); |
75 |
const char *dbop_next(DBOP *); |
const char *dbop_next(DBOP *); |
76 |
const char *dbop_lastdat(DBOP *); |
const char *dbop_lastdat(DBOP *, int *); |
77 |
void dbop_close(DBOP *); |
void dbop_close(DBOP *); |
78 |
|
|
79 |
#endif /* _DBOP_H_ */ |
#endif /* _DBOP_H_ */ |