Annotation of libwww/Library/src/HTWAIS.html, revision 2.5
2.3 timbl 1: <HTML>
2: <HEAD>
2.1 timbl 3: <TITLE>WAIS protocol module for the W3 library</TITLE>
2.3 timbl 4: <NEXTID N="z3">
5: </HEAD>
2.1 timbl 6: <BODY>
2.4 frystyk 7: <H1>WAIS Protocol Interface</H1>
8:
9: This module does not actually perform the WAIS protocol directly, but it
10: does using one or more libraries of the freeWAIS distribution. The
11: ui.a library came with the old free WAIS from TMC, the client.a and
12: wais.a libraries are needed from the freeWAIS from CNIDR. <P>
13:
14: <EM><B>Note: </B>The current version suppored is freeWAIS-0.3, June 1994</EM><P>
15:
16: If you include this module in the library, you must also
17:
2.1 timbl 18: <UL>
2.4 frystyk 19: <LI> Register the HTWAIS protocol at initialisation (e.g. HTInit or HTSInit)
20: by compiling it with -DDIRECT_WAIS
21: <LI> Link with the WAIS libraries
22: </UL>
23:
24: The wais source files are parsed by a separate and independent module,
25: <A NAME="z1" HREF="HTWSRC.html">HTWSRC</A>. You can include HTWSRC
26: without including direct wais using this module, and your WWW code will
27: be able to read source files, and access WAIS indexes through a gateway.<P>
28:
29: A <A NAME="z2" HREF="../../Daemon/WAISGate.html">WAIS-WWW gateway</A>
30: is just a normal W3 server with a libwww compiled with this module.<P>
31:
32: Anyways, this interface won't change much:
33:
34: <PRE>
35: #ifndef HTWAIS_H
2.1 timbl 36: #define HTWAIS_H
37: #include "HTUtils.h"
38: #include "HTAccess.h"
2.4 frystyk 39: </PRE>
40:
41: <H2>Control Flags</H2>
42:
43: The number of lines handled from a WAIS search is determined by this variable.
44: The default value is 100 (this is defined in the module)
45:
46: <PRE>
47: extern int HTMaxWAISLines;
2.1 timbl 48:
2.3 timbl 49: GLOBALREF HTProtocol HTWAIS;
2.1 timbl 50:
51: #endif
2.5 ! timbl 52:
2.4 frystyk 53: </PRE>
2.1 timbl 54:
2.4 frystyk 55: <ADDRESS><A NAME="0" HREF="http://info.cern.ch./hypertext/TBL_Disclaimer.html">Tim BL</A>
56: </ADDRESS>
57: </BODY>
2.3 timbl 58: </HTML>
Webmaster