Annotation of libwww/Library/src/HTWAIS.html, revision 2.3
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>
7: <H1>WAIS protocol interface</H1>This module does not actually perform
8: the WAIS protocol directly, but it
2.3 ! timbl 9: does using one or more libraries
! 10: of the freeWAIS distribution. The
! 11: ui.a library came with the old free
! 12: WAIS from TMC, the client.a and
! 13: wais.a libraries are needed from
! 14: the freeWAIS from CNIDR.<P>
2.1 timbl 15: If you include this module in the
16: library, you must also
17: <UL>
18: <LI>Register the HTWAIS protocol at initialisation
19: (e.g. HTInit or HTSInit) by compiling
20: it with -DDIRECT_WAIS
2.3 ! timbl 21: <LI>Link with the WAIS libraries
2.1 timbl 22: </UL>The wais source files are parsed
2.3 ! timbl 23: by a separate and independent module,<A
! 24: NAME="z1" HREF="HTWSRC.html">
! 25: HTWSRC</A> . You can include HTWSRC
2.2 timbl 26: without including direct wais using
27: this module, and your WWW code will
28: be able to read source files, and
29: access WAIS indexes through a gateway.<P>
30: A <A
2.3 ! timbl 31: NAME="z2" HREF="../../Daemon/WAISGate.html">WAIS-WWW gateway</A> is just a normal
2.2 timbl 32: W3 server with a libwww compiled
33: with this module.<P>
2.1 timbl 34: Anyways, this interface won't change
35: much:
36: <PRE>#ifndef HTWAIS_H
37: #define HTWAIS_H
38: #include "HTUtils.h"
39: #include "HTAccess.h"
40:
2.3 ! timbl 41: GLOBALREF HTProtocol HTWAIS;
2.1 timbl 42:
43: #endif
44:
45: </PRE>
46: <ADDRESS><A
2.3 ! timbl 47: NAME="0" HREF="http://info.cern.ch./hypertext/TBL_Disclaimer.html">Tim BL</A>
! 48: </ADDRESS></BODY>
! 49: </HTML>
Webmaster