/* C Type Definition for dBASE III and IV Headers */ /*(Vintage 1989, Not Y2K-compliant) */ typedef struct { char id, /* identification */ yy, mm, dd; /* date stamp */ long nrecs; /* total records in file */ unsigned headerlen, /* count of bytes in header */ reclen; /* number of bytes per record */ char res [2], /* RESERVED field 1 */ incompletexn, /* incomplete transaction flag */ encrypted, /* encrypted file flag */ lan [12], /* RESERVED for LAN version */ mdx, /* .MDX file exists flag */ res2 [3]; /* RESERVED field 2 */ } HEADREC ;