Annotation of libwww/Library/src/HTWAIS.html, revision 2.26
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.25 frystyk 39: a part of the <A HREF="http://www.w3.org/pub/WWW/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.26 ! frystyk 45: #include "<A HREF="HTEvent.html">HTEvent.h</A>"
2.4 frystyk 46: </PRE>
2.24 frystyk 47: <H2>
48: Control Flags
49: </H2>
50: <P>
2.4 frystyk 51: The number of lines handled from a WAIS search is determined by this variable.
52: The default value is 100 (this is defined in the module)
53: <PRE>
54: extern int HTMaxWAISLines;
2.1 timbl 55:
2.26 ! frystyk 56: extern HTProtCallback HTLoadWAIS;
2.6 frystyk 57: </PRE>
58: <PRE>
2.1 timbl 59: #endif
2.4 frystyk 60: </PRE>
2.24 frystyk 61: <P>
62: <HR>
2.22 frystyk 63: <ADDRESS>
2.26 ! frystyk 64: @(#) $Id: HTWAIS.html,v 2.25 1997/02/16 18:43:14 frystyk Exp $
2.22 frystyk 65: </ADDRESS>
2.24 frystyk 66: </BODY></HTML>
Webmaster