diff options
Diffstat (limited to 'pttbbs/innbbsd/dbz.h')
-rw-r--r-- | pttbbs/innbbsd/dbz.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/pttbbs/innbbsd/dbz.h b/pttbbs/innbbsd/dbz.h deleted file mode 100644 index bef0512f..00000000 --- a/pttbbs/innbbsd/dbz.h +++ /dev/null @@ -1,37 +0,0 @@ -/* for dbm and dbz */ -#ifndef _DBZ_H -#define _DBZ_H -typedef struct { - char *dptr; - int dsize; -} datum; - -/* standard dbm functions */ -extern int dbminit(); -extern datum fetch(); -extern int store(); -extern int delete(); /* not in dbz */ -extern datum firstkey(); /* not in dbz */ -extern datum nextkey(); /* not in dbz */ -extern int dbmclose(); /* in dbz, but not in old dbm */ - -/* new stuff for dbz */ -extern int dbzfresh(); -extern int dbzagain(); -extern datum dbzfetch(); -extern int dbzstore(); -extern int dbzsync(); -extern long dbzsize(); -extern int dbzincore(); -extern int dbzcancel(); -extern int dbzdebug(); -extern int dbzwritethrough(); - -/* - * In principle we could handle unlimited-length keys by operating a chunk at - * a time, but it's not worth it in practice. Setting a nice large bound on - * them simplifies the code and doesn't hurt anything. - */ -#define DBZMAXKEY 255 - -#endif /* _DBZ_H */ |