Memory File Structure

typedef struct mfile_struct /*Defined in vv_sys.h */
{      
UNIT tag; /*sentinel */
UCHAR *fn; /*file specifier */
MFLINEPTR *farray /*pointer to the array of MFLINEPTR's */
int fmaxline; /*maximum number of lines allowed */
int fmaxcol; /*maximum number of columns allowed */
int ln_q; /*number of lines in file, including EOF (NULLP) line */
int c_q; /*max number of columns, equal to max length of line, including '\n' */
int flag; /*memory file flags */
UCHAR *kwdp; /*keyword pointer */
int vln_beg; /*number of beginning line of the view section */
int vln_q; /*view section line quantity */
int vc_q; vc_q; /*view section max line length */
UCHAR *buf; /*line buffer for keyworded files */
FILE *fp; /*file pointer for keyworded files */
} MFILE, *MFILEPTR;      


Home Contents Previous Next