home *** CD-ROM | disk | FTP | other *** search
/ Internet Publisher's Toolbox 2.0 / Internet Publisher's Toolbox.iso / internet / ntserver / wtsource / ir.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-16  |  1.2 KB  |  49 lines

  1. /* WIDE AREA INFORMATION SERVER SOFTWARE    
  2.    No guarantees or restrictions.  See the readme file for the full standard
  3.    disclaimer.  
  4.   
  5.    3.26.90    Harry Morris, morris@think.com
  6. */
  7.  
  8. /* Copyright (c) CNIDR (see ../COPYRIGHT) */
  9.  
  10.  
  11. /*----------------------------------------------------------------------*/
  12. /* This code implements a simple Z39.50+WAIS server, which consults a 
  13.    local database useing Brewster's search engine.  The main routine is
  14.    interpret_buffer() which reads the contents of a receive buffer, and 
  15.    writes results back to a send buffer.
  16.  */
  17. /*----------------------------------------------------------------------*/
  18.  
  19. #ifndef IR_H
  20. #define IR_H
  21.  
  22. #include "cdialect.h"
  23.  
  24. #ifdef __cplusplus
  25. /* declare these as C style functions */
  26. extern "C"
  27.     {
  28. #endif /* def __cplusplus */
  29.  
  30. long interpret_buffer _AP((char* receiveBuffer,long receiveBufLen,
  31.                char* sendBuffer,long sendBufLen,
  32.                long* maxBufferSize,
  33.                long waisProtocolVersion,
  34.                char *index_directory));
  35.  
  36. #define SERVSECURITYFILE        "SERV_SEC"
  37. #define DATASECURITYFILE        "DATA_SEC"
  38.  
  39.  
  40. #ifdef __cplusplus
  41.     }
  42. #endif /* def __cplusplus */
  43.  
  44. #endif /* ndef IR_H */
  45.  
  46.  
  47.  
  48.  
  49.