home *** CD-ROM | disk | FTP | other *** search
/ Internet Publisher's Toolbox 1.0 / Image.iso / toolbox / ntserver / wtsource / irretrvl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-16  |  942 b   |  36 lines

  1. /* WIDE AREA INFORMATION SERVER SOFTWARE:
  2.    No guarantees or restrictions.  See the readme file for the full standard
  3.    disclaimer.    */
  4.  
  5. /* Copyright (c) CNIDR (see ../COPYRIGHT) */
  6.  
  7.  
  8. #ifndef IRRETRVL_H
  9. #define IRRETRVL_H
  10.  
  11. #include "cdialect.h"
  12. #include "docid.h"
  13. #include "wprot.h"
  14. #include "version.h"
  15.  
  16. /* error codes for getDocumentText() */
  17. #define GDT_NoError                0
  18. #define GDT_UnsupportedChunkType        1
  19. #define GDT_BadDocID                       2
  20. #define GDT_MissingDocID            3
  21. #define GDT_BadRange                4
  22. #define GDT_MissingDatabase            5
  23. #define GDT_BadDatabase                6
  24.  
  25. WAISDocumentText* getData _AP((DocObj* doc, long* errorCode,
  26.                    char* index_directory));
  27.  
  28. WAISDocumentText* getDocumentText _AP((DocObj* doc, long* errorCode,
  29.                        char* index_directory));
  30.  
  31. boolean parseDocID _AP((DocObj* doc,char* filename,long* start_character,
  32.             long* end_character,long* errorCode));
  33.  
  34. #endif /* ndef IRRETRVL_H */
  35.  
  36.