home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / INDXLOOK.H < prev    next >
C/C++ Source or Header  |  1997-07-05  |  612b  |  23 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /*
  4. **  INDXLOOK.H
  5. **
  6. **  SNIPPETS header file for INDEX.C and LOOKUP.C
  7. **
  8. **  public domain by Mark Corgan
  9. */
  10.  
  11. #include "sniptype.h"            /* for True_, False_, Boolean_T    */
  12. #define MAX_LINE           40       /* maximum line length            */
  13. #define MAX_KEY            26       /* maximum key size            */
  14. #define END_REC         ".\n"       /* end of a record            */
  15.  
  16. struct index_rec                    /* index record                */
  17. {
  18.     char key[MAX_KEY];            /* name                    */
  19.     long pos;                     /* position                    */
  20. };
  21.  
  22. typedef struct index_rec INDEX;
  23.