HTWAIS.h
上传用户:zlh9724
上传日期:2007-01-04
资源大小:1991k
文件大小:2k
源码类别:

浏览器

开发平台:

Unix_Linux

  1. /*                                                                       WAIS protocol module
  2.                                  WAIS PROTOCOL INTERFACE
  3.                                              
  4.  */
  5. /*
  6. **      (c) COPYRIGHT MIT 1995.
  7. **      Please first read the full copyright statement in the file COPYRIGH.
  8. */
  9. /*
  10.    This module does not actually perform the WAIS protocol directly, but it does using one
  11.    or more libraries of the freeWAIS distribution. The ui.a library came with the old free
  12.    WAIS from TMC,  the client.a and wais.a libraries are needed from the freeWAIS from
  13.    CNIDR.
  14.    
  15.    Note: The current version suppored is freeWAIS-0.3, June 1994
  16.    
  17.    If you include this module in the library, you must also
  18.    
  19.        Register the HTWAIS protocol at initialisation (e.g. HTInit or HTSInit)      by
  20.       compiling it with -DHT_DIRECT_WAIS
  21.       
  22.        Link with the WAIS libraries
  23.       
  24.    The wais source files are parsed by a separate and independent module, HTWSRC.  You can
  25.    include HTWSRC without including direct wais using this module, and your WWW code will
  26.    be able to read source files, and access WAIS indexes through a gateway.
  27.    
  28.    A WAIS-WWW gateway is just a normal W3 server with a libwww compiled with this module.
  29.    
  30.    This module is implemented by HTWAIS.c, and it is a part of the W3C Reference Library.
  31.    
  32.  */
  33. #ifndef HTWAIS_H
  34. #define HTWAIS_H
  35. #include "HTEvntrg.h"
  36. /*
  37. Control Flags
  38.    The number of lines handled from a WAIS search is determined by this variable. The
  39.    default value is 100 (this is defined in the module)
  40.    
  41.  */
  42. extern int HTMaxWAISLines;
  43. extern HTEventCallback HTLoadWAIS;
  44. /*
  45.    End of Difinition module
  46.    
  47.  */
  48. #endif
  49. /*
  50.                                                                                     Tim BL
  51.                                                                                           
  52.     */