home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / c_src / pureind.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-20  |  1.0 KB  |  33 lines

  1. /********************************************************************/
  2. /* pureind.h - include file for pureind.c and getpure.c             */
  3. /*                                                                  */
  4. /* Copyright (c) 1993 by Hildo Biersma - Evil Eye Software          */
  5. /*                            e-mail: boender@dutiws.twi.tudelft.nl */
  6. /*        Evil Eye Software - ``Software with a Purpose''           */
  7. /*                                                                  */
  8. /* Freeware - do with this what you like, but leave my name.        */
  9. /********************************************************************/
  10.  
  11. #ifndef _TYPES_H
  12. #include <types.h>
  13. #endif
  14.  
  15. #define INDEXFILE_HEADER "IDX0"
  16. #define INDEXFILE_NAME "puresrc.idx"
  17. #define FILENAME_SIZE 32
  18. #define PAGENAME_SIZE 15
  19. #define MAX_FILES 50
  20. #define ILLEGAL_FILE MAX_FILES + 1
  21.  
  22. struct file_record
  23. {
  24.   char name[FILENAME_SIZE];
  25. };
  26.  
  27. struct page_record
  28. {
  29.   char   name[PAGENAME_SIZE];
  30.   char   fileno;
  31.   size_t pos;
  32. };
  33.