home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
xbase
/
library
/
clipper
/
progr_ba
/
clipdbf.h
next >
Wrap
C/C++ Source or Header
|
1992-02-27
|
3KB
|
59 lines
/*----------------------------------------------------------------------------
STATUS version 1.01
(c) 1992 John T. Opincar, Jr.
CID: 71631,541
02/27/92
PLEASE READ THIS!
You are free to distribute STATUS in any manner you choose and use STATUS
in any setting, including commercial without any obligation to me. The
only thing that I ask is that you do not distribute modified versions of
STATUS without including the original code and documentation in its
entirety. If you feel inclined to distribute STATUS with your own
modifications (which I would discourage), ***PLEASE*** keep your changes
in seperate files, and make the seperation and changes obvious to anyone
who might subsequently encounter the ZIP.
I have been informally supporting STATUS on CIS, and do not want a zillion
messages about problems introduced by others. In lieu of making your own
changes, I would prefer that you send me mail describing the additional
features you would like to see in STATUS. The exceptional performance
gains yielded by STATUS are the result of several key assumptions about
how it will be used. Before making a suggestion, please read the section
in the documentation entitled, "What Makes STATUS Tick." The main
motivation behind this version of STATUS was input I received from users.
----------------------------------------------------------------------------*/
/* database structure--uk? stands for an unknown item(s) */
typedef struct {
/* offset length (in base 10) */
char uk1[10]; /* 0 10 */
int fcount; /* 10 2 */
char uk2[12]; /* 12 12 */
int bof; /* 24 2 */
int eof; /* 26 2 */
int found; /* 28 2 */
char uk3[14]; /* 30 14 */
char *filter; /* 44 4 */
char uk4[10]; /* 48 10 */
long disklastrec;/* 58 4 */
int header; /* 62 2 */
long recsize; /* 64 4 */
char uk5[30]; /* 68 30 */
long lastrec; /* 98 4 */
long recno; /* 102 4 */
char uk6[6]; /* 106 6 */
int shared; /* 112 2 */
char uk7[6]; /* 114 6 */
int deleted; /* 120 2 */
int flocked; /* 122 2 */
int rlocked; /* 124 2 */
char uk8[18]; /* 126 18 */
int indexord; /* 144 2 */
} workAreaType;
extern workAreaType **_Workareas[256]; /* array of pointers to workareas */