diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-12-11 12:24:22 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-12-11 12:24:22 +0000 |
commit | 1e207cc771f02088eeeca6fd16782cd1733edbf6 (patch) | |
tree | 2ea1f18c046c10416aab388667675354d988ec88 /gnu/usr.bin/cvs/lib/myndbm.h | |
parent | d81819680486521a84c8aecc540ed04ba315dec0 (diff) |
This commit was manufactured by cvs2svn to create tagvendor/misc-GNU/cvs/1.10.7
'cvs-vendor-v1_10_7'.
Notes
Notes:
svn path=/vendor/cvs/dist/; revision=54427
svn path=/vendor/cvs/1.10.7/; revision=54429; tag=vendor/misc-GNU/cvs/1.10.7
Diffstat (limited to 'gnu/usr.bin/cvs/lib/myndbm.h')
-rw-r--r-- | gnu/usr.bin/cvs/lib/myndbm.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gnu/usr.bin/cvs/lib/myndbm.h b/gnu/usr.bin/cvs/lib/myndbm.h deleted file mode 100644 index 3af313055065..000000000000 --- a/gnu/usr.bin/cvs/lib/myndbm.h +++ /dev/null @@ -1,36 +0,0 @@ -/* $CVSid: @(#)myndbm.h 1.4 94/09/21 $ */ - -#ifdef MY_NDBM - -#define DBLKSIZ 4096 - -typedef struct -{ - List *dbm_list; /* cached database */ - Node *dbm_next; /* next key to return for nextkey() */ -} DBM; - -typedef struct -{ - char *dptr; - int dsize; -} datum; - -/* - * So as not to conflict with other dbm_open, etc., routines that may - * be included by someone's libc, all of my emulation routines are prefixed - * by "my" and we define the "standard" ones to be "my" ones here. - */ -#define dbm_open mydbm_open -#define dbm_close mydbm_close -#define dbm_fetch mydbm_fetch -#define dbm_firstkey mydbm_firstkey -#define dbm_nextkey mydbm_nextkey - -DBM *mydbm_open PROTO((char *file, int flags, int mode)); -void mydbm_close PROTO((DBM * db)); -datum mydbm_fetch PROTO((DBM * db, datum key)); -datum mydbm_firstkey PROTO((DBM * db)); -datum mydbm_nextkey PROTO((DBM * db)); - -#endif /* MY_NDBM */ |