Annotation of libwww/Library/src/HTWAIS.html, revision 2.18
2.3 timbl 1: <HTML>
2: <HEAD>
2.16 frystyk 3: <TITLE>WAIS protocol module</TITLE>
2.18 ! frystyk 4: <!-- Changed by: Henrik Frystyk Nielsen, 6-Sep-1995 -->
2.3 timbl 5: </HEAD>
2.1 timbl 6: <BODY>
2.7 frystyk 7:
2.4 frystyk 8: <H1>WAIS Protocol Interface</H1>
9:
2.7 frystyk 10: <PRE>
11: /*
2.12 frystyk 12: ** (c) COPYRIGHT MIT 1995.
2.7 frystyk 13: ** Please first read the full copyright statement in the file COPYRIGH.
14: */
15: </PRE>
16:
2.4 frystyk 17: This module does not actually perform the WAIS protocol directly, but it
18: does using one or more libraries of the freeWAIS distribution. The
19: ui.a library came with the old free WAIS from TMC, the client.a and
20: wais.a libraries are needed from the freeWAIS from CNIDR. <P>
21:
22: <EM><B>Note: </B>The current version suppored is freeWAIS-0.3, June 1994</EM><P>
23:
24: If you include this module in the library, you must also
25:
2.1 timbl 26: <UL>
2.4 frystyk 27: <LI> Register the HTWAIS protocol at initialisation (e.g. HTInit or HTSInit)
2.10 frystyk 28: by compiling it with -DHT_DIRECT_WAIS
2.4 frystyk 29: <LI> Link with the WAIS libraries
30: </UL>
31:
32: The wais source files are parsed by a separate and independent module,
33: <A NAME="z1" HREF="HTWSRC.html">HTWSRC</A>. You can include HTWSRC
34: without including direct wais using this module, and your WWW code will
35: be able to read source files, and access WAIS indexes through a gateway.<P>
36:
2.13 frystyk 37: A <A NAME="z2" HREF="../../Gateways/WAISGate.html">WAIS-WWW gateway</A>
2.4 frystyk 38: is just a normal W3 server with a libwww compiled with this module.<P>
39:
2.7 frystyk 40: This module is implemented by <A HREF="HTWAIS.c">HTWAIS.c</A>, and it is
41: a part of the <A
2.17 frystyk 42: HREF="http://www.w3.org/pub/WWW/Library/">
2.15 frystyk 43: W3C Reference Library</A>.
2.4 frystyk 44:
45: <PRE>
46: #ifndef HTWAIS_H
2.1 timbl 47: #define HTWAIS_H
2.9 frystyk 48:
2.18 ! frystyk 49: #include "HTEvntrg.h"
2.4 frystyk 50: </PRE>
51:
52: <H2>Control Flags</H2>
53:
54: The number of lines handled from a WAIS search is determined by this variable.
55: The default value is 100 (this is defined in the module)
56:
57: <PRE>
58: extern int HTMaxWAISLines;
2.1 timbl 59:
2.18 ! frystyk 60: extern HTEventCallBack HTLoadWAIS;
2.6 frystyk 61: </PRE>
2.1 timbl 62:
2.6 frystyk 63: End of Difinition module
64:
65: <PRE>
2.1 timbl 66: #endif
2.5 timbl 67:
2.4 frystyk 68: </PRE>
2.1 timbl 69:
2.11 frystyk 70: <ADDRESS><A NAME="0" HREF="http://www.w3.org./hypertext/TBL_Disclaimer.html">Tim BL</A>
2.4 frystyk 71: </ADDRESS>
72: </BODY>
2.3 timbl 73: </HTML>
Webmaster