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