diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-06 09:24:04 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-06 09:24:04 +0000 |
commit | de03844917b6785e1b005a547c0b61e26817c93e (patch) | |
tree | 1c496a8be939b8bb9b9596a927fb593043d3a12c /compat/ndbm.h | |
parent | c441c706a5c6d2606f8e7e58778ddf7f086b3e7f (diff) | |
download | gdbm-de03844917b6785e1b005a547c0b61e26817c93e.tar.gz gdbm-de03844917b6785e1b005a547c0b61e26817c93e.tar.bz2 |
(DBM) <dirfd>: New member.
Diffstat (limited to 'compat/ndbm.h')
-rw-r--r-- | compat/ndbm.h | 7 |
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!) */ |