Annotation of libwww/Library/src/HTWAIS.html, revision 2.8
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: /*
11: ** (c) COPYRIGHT CERN 1994.
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)
27: by compiling it with -DDIRECT_WAIS
28: <LI> Link with the WAIS libraries
29: </UL>
30:
2.8 ! roeber 31: <p>This is done automatically when configuring the package, if you include
! 32: the command-line argument ``--with-WAIS'' to the configure script.</p>
! 33:
2.4 frystyk 34: The wais source files are parsed by a separate and independent module,
35: <A NAME="z1" HREF="HTWSRC.html">HTWSRC</A>. You can include HTWSRC
36: without including direct wais using this module, and your WWW code will
37: be able to read source files, and access WAIS indexes through a gateway.<P>
38:
39: A <A NAME="z2" HREF="../../Daemon/WAISGate.html">WAIS-WWW gateway</A>
40: is just a normal W3 server with a libwww compiled with this module.<P>
41:
2.7 frystyk 42: This module is implemented by <A HREF="HTWAIS.c">HTWAIS.c</A>, and it is
43: a part of the <A
44: HREF="http://info.cern.ch/hypertext/WWW/Library/User/Guide/Guide.html">
45: Library of Common Code</A>.
2.4 frystyk 46:
47: <PRE>
48: #ifndef HTWAIS_H
2.1 timbl 49: #define HTWAIS_H
2.8 ! roeber 50: #include "sysdep.h"
2.1 timbl 51: #include "HTUtils.h"
52: #include "HTAccess.h"
2.4 frystyk 53: </PRE>
54:
55: <H2>Control Flags</H2>
56:
57: The number of lines handled from a WAIS search is determined by this variable.
58: The default value is 100 (this is defined in the module)
59:
60: <PRE>
61: extern int HTMaxWAISLines;
2.1 timbl 62:
2.3 timbl 63: GLOBALREF HTProtocol HTWAIS;
2.6 frystyk 64: </PRE>
2.1 timbl 65:
2.6 frystyk 66: End of Difinition module
67:
68: <PRE>
2.1 timbl 69: #endif
2.5 timbl 70:
2.4 frystyk 71: </PRE>
2.1 timbl 72:
2.4 frystyk 73: <ADDRESS><A NAME="0" HREF="http://info.cern.ch./hypertext/TBL_Disclaimer.html">Tim BL</A>
74: </ADDRESS>
75: </BODY>
2.3 timbl 76: </HTML>
Webmaster