Annotation of libwww/Library/src/HTWAIS.html, revision 2.28
2.3 timbl 1: <HTML>
2: <HEAD>
2.25 frystyk 3: <TITLE>W3C Sample Code Library libwww WAIS Gateway</TITLE>
2.3 timbl 4: </HEAD>
2.1 timbl 5: <BODY>
2.24 frystyk 6: <H1>
7: WAIS Gateway Interface
8: </H1>
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>
2.24 frystyk 15: <P>
2.4 frystyk 16: This module does not actually perform the WAIS protocol directly, but it
2.24 frystyk 17: does using one or more libraries of the freeWAIS distribution. The ui.a library
18: came with the old free WAIS from TMC, the client.a and wais.a libraries are
19: needed from the freeWAIS from <A HREF="http://www.cnidr.org">CNIDR</A>.
20: <P>
2.4 frystyk 21: If you include this module in the library, you must also
2.1 timbl 22: <UL>
2.24 frystyk 23: <LI>
24: Compile the Library by including the <CODE>--with-wais </CODE>directive in
25: the <A HREF="../../INSTALL.html">configure script</A>.
26: <LI>
27: Have the WAIS Library available
2.4 frystyk 28: </UL>
2.24 frystyk 29: <P>
2.4 frystyk 30: The wais source files are parsed by a separate and independent module,
2.24 frystyk 31: <A NAME="z1" HREF="HTWSRC.html">HTWSRC</A>. You can include HTWSRC without
32: including direct wais using this module, and your WWW code will be able to
33: read source files, and access WAIS indexes through a gateway.
34: <P>
35: A <A HREF="../User/WAIS.html" NAME="z2">WAIS-WWW gateway</A> is just a normal
2.26 frystyk 36: Web server with a libwww compiled with this module.
2.24 frystyk 37: <P>
2.7 frystyk 38: This module is implemented by <A HREF="HTWAIS.c">HTWAIS.c</A>, and it is
2.27 frystyk 39: a part of the <A HREF="http://www.w3.org/Library/"> W3C Sample Code
2.24 frystyk 40: Library</A>.
2.4 frystyk 41: <PRE>
42: #ifndef HTWAIS_H
2.1 timbl 43: #define HTWAIS_H
2.9 frystyk 44:
2.28 ! vbancrof 45: #ifdef __cplusplus
! 46: extern "C" {
! 47: #endif
! 48:
2.26 frystyk 49: #include "<A HREF="HTEvent.html">HTEvent.h</A>"
2.4 frystyk 50: </PRE>
2.24 frystyk 51: <H2>
52: Control Flags
53: </H2>
54: <P>
2.4 frystyk 55: The number of lines handled from a WAIS search is determined by this variable.
56: The default value is 100 (this is defined in the module)
57: <PRE>
58: extern int HTMaxWAISLines;
2.1 timbl 59:
2.26 frystyk 60: extern HTProtCallback HTLoadWAIS;
2.6 frystyk 61: </PRE>
62: <PRE>
2.28 ! vbancrof 63: #ifdef __cplusplus
! 64: }
2.1 timbl 65: #endif
2.28 ! vbancrof 66:
! 67: #endif /* HTWAIS_H */
2.4 frystyk 68: </PRE>
2.24 frystyk 69: <P>
70: <HR>
2.22 frystyk 71: <ADDRESS>
2.28 ! vbancrof 72: @(#) $Id: HTWAIS.html,v 2.27 1998/05/14 02:11:17 frystyk Exp $
2.22 frystyk 73: </ADDRESS>
2.24 frystyk 74: </BODY></HTML>
Webmaster