aboutsummaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/ndbm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/compat/ndbm.h b/compat/ndbm.h
index 0a28e6c..f6607bc 100644
--- a/compat/ndbm.h
+++ b/compat/ndbm.h
@@ -34,9 +34,10 @@
/* The file information header. */
typedef struct
{
- GDBM_FILE file;
- datum _dbm_memory;
- char *_dbm_fetch_val;
+ GDBM_FILE file; /* Actual gdbm file (held in the .pag file */
+ int dirfd; /* Descriptor of the .dir file */
+ datum _dbm_memory; /* Keeps the last returned key */
+ char *_dbm_fetch_val; /* Keeps the dptr of the last fetched datum */
} DBM;
/* These are the routines (with some macros defining them!) */

Return to:

Send suggestions and report system problems to the System administrator.