home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / Programming / Source / WAIS / ir / irretrvl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-02  |  737 b   |  30 lines

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