(Version 2 of ctgfms SNAPSHOT structure)
typedef struct ctgfms {
ULONG client_ver; /* client version of structure */
ULONG server_ver; /* server version of structure */
ULONG fixlen; /* length of fixed portion of snapshot */
ULONG varlen; /* length of variable region (if any) */
LONG8 snapshottm; /* snapshot time stamp: seconds since 70*/
LONG8 phyrec; /* physical file size */
LONG8 numrec; /* logical file size */
LONG8 sernum; /* serial number */
LONG8 nument; /* active entries */
LONG8 hghtrn; /* tran# high water mark for idx */
LONG8 tstamp; /* update time stamp */
LONG8 mxfilz; /* max file size high word */
LONG8 fredops; /* file specific # of read ops */
LONG8 fredbyt; /* file specific # of bytes read */
LONG8 fwrtops; /* file specific # of write ops */
LONG8 fwrtbyt; /* file specific # of bytes written */
LONG8 scthrtimbas; /* high res timer ticks per sec^ */
LONG8 mhghbyt; /* memory file high water bytes */
LONG8 fredtim; /* file specific disk read call time */
LONG8 fwrttim; /* file specific disk write call time */
LONG8 avail8[6];
ULONG idxhgt; /* index height */
ULONG fileid; /* unique file id */
ULONG servid; /* unique server id */
ULONG timeid; /* time id# */
ULONG nodsiz; /* node size */
ULONG reclen; /* fixed data record length */
ULONG logtyp; /* permanent components of file mode */
ULONG maxkbl; /* maximum key bytes leaf-var */
ULONG maxkbn; /* maximum key bytes non leaf-var */
ULONG filtyp; /* flag for file type */
ULONG keylen; /* key length */
ULONG kmem; /* key member # */
ULONG nmem; /* number of members */
ULONG suptyp; /* super file type */
ULONG maxmrk; /* maximum exc mark entries per leaf */
ULONG hdrseq; /* wrthdr sequence # */
ULONG floktry; /* total lock attempts */
ULONG flokhlk; /* header lock attempts */
ULONG flokblk; /* total lock wait count */
ULONG flokhbk; /* header lock wait count */
ULONG flokdlk; /* deadlocks */
ULONG flokdny; /* total locks denied */
ULONG flokfre; /* total locks freed */
ULONG flokrel; /* total blocks released */
ULONG flokcur; /* current count of locks held */
ULONG fblkcur; /* current count of blocked requests */
ULONG datlmt; /* max number of special cache pages */
ULONG datspl; /* actual number of special cache pages */
ULONG bufcnt; /* number of buffer pages */
ULONG datcnt; /* number of data cache pages */
ULONG numchn; /* number of channels */
ULONG usrcnt; /* number of users with file open */
ULONG memcnt; /* current # of memory records */
ULONG hghcnt; /* high water # of memory recors */
ULONG flokkil; /* killed locks */
ULONG avail4[5];
ULONG contents; /* bit map of var len contents */
LONG segmax; /* maximum # of segments */
LONG seglst; /* # activated segments */
UTEXT updflg; /* update (corrupt) flag */
UTEXT ktype; /* file type flag */
UTEXT autodup; /* duplicate flag */
UTEXT deltyp; /* flag for type of idx delete */
UTEXT keypad; /* padding byte */
UTEXT flflvr; /* file flavor */
UTEXT flalgn; /* file alignment */
UTEXT flpntr; /* file pointer size */
UTEXT sflvr; /* server byte order */
UTEXT salgn; /* server alignment */
UTEXT spntr; /* server pointer size */
TEXT availt[9];
TEXT filename[256]; /* file name */
} ctGFMS, ctMEM * pctGFMS;