home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / xbase / library / clipper / progr_ba / clipdbf.h next >
C/C++ Source or Header  |  1992-02-27  |  3KB  |  59 lines

  1. /*----------------------------------------------------------------------------
  2.  
  3.    STATUS version 1.01
  4.    (c) 1992 John T. Opincar, Jr.
  5.    CID: 71631,541
  6.    02/27/92 
  7.  
  8.    PLEASE READ THIS!
  9.                                        
  10.    You are free to distribute STATUS in any manner you choose and use STATUS
  11.    in any setting, including commercial without any obligation to me.  The
  12.    only thing that I ask is that you do not distribute modified versions of
  13.    STATUS without including the original code and documentation in its
  14.    entirety.  If you feel inclined to distribute STATUS with your own 
  15.    modifications (which I would discourage), ***PLEASE*** keep your changes
  16.    in seperate files, and make the seperation and changes obvious to anyone
  17.    who might subsequently encounter the ZIP.
  18.  
  19.    I have been informally supporting STATUS on CIS, and do not want a zillion
  20.    messages about problems introduced by others.  In lieu of making your own
  21.    changes, I would prefer that you send me mail describing the additional
  22.    features you would like to see in STATUS.  The exceptional performance
  23.    gains yielded by STATUS are the result of several key assumptions about 
  24.    how it will be used.  Before making a suggestion, please read the section
  25.    in the documentation entitled, "What Makes STATUS Tick." The main 
  26.    motivation behind this version of STATUS was input I received from users.
  27.  
  28. ----------------------------------------------------------------------------*/
  29.  
  30. /* database structure--uk? stands for an unknown item(s) */
  31. typedef struct {
  32.                         /*  offset length (in base 10) */
  33.     char    uk1[10];    /*       0     10 */
  34.     int     fcount;     /*      10      2 */
  35.     char    uk2[12];    /*      12     12 */
  36.     int     bof;        /*      24      2 */
  37.     int     eof;        /*      26      2 */
  38.     int     found;      /*      28      2 */
  39.     char    uk3[14];    /*      30     14 */
  40.     char   *filter;     /*      44      4 */
  41.     char    uk4[10];    /*      48     10 */
  42.     long    disklastrec;/*      58      4 */
  43.     int     header;     /*      62      2 */
  44.     long    recsize;    /*      64      4 */
  45.     char    uk5[30];    /*      68     30 */
  46.     long    lastrec;    /*      98      4 */
  47.     long    recno;      /*     102      4 */
  48.     char    uk6[6];     /*     106      6 */
  49.     int     shared;     /*     112      2 */
  50.     char    uk7[6];     /*     114      6 */
  51.     int     deleted;    /*     120      2 */
  52.     int     flocked;    /*     122      2 */
  53.     int     rlocked;    /*     124      2 */
  54.     char    uk8[18];    /*     126     18 */
  55.     int     indexord;   /*     144      2 */
  56. } workAreaType;
  57.  
  58. extern workAreaType **_Workareas[256];   /* array of pointers to workareas */
  59.