File:  [Public] / libwww / Library / src / HTWAIS.html
Revision 2.27: download - view: text, annotated - select for diffs
Thu May 14 02:11:17 1998 UTC (26 years ago) by frystyk
Branches: MAIN
CVS tags: repeat-requests, before_webdav, Release-5-4-0, Release-5-3-1, Release-5-2-8, Release-5-2-6, Release-5-2, Release-5-1m, HEAD, Before-New-Trace-Messages, Amaya_2_4, Amaya-6-3, Amaya-6-1, Amaya-5-2, Amaya-4-3-2, Amaya-4-3-1, Amaya-4-3, Amaya-4-1-2, Amaya-4-1-0, Amaya-4-0-0, Amaya-3-2-1, Amaya-3-2, Amaya
Changing old pub/WWW links

<HTML>
<HEAD>
  <TITLE>W3C Sample Code Library libwww WAIS Gateway</TITLE>
</HEAD>
<BODY>
<H1>
  WAIS Gateway Interface
</H1>
<PRE>
/*
**	(c) COPYRIGHT MIT 1995.
**	Please first read the full copyright statement in the file COPYRIGH.
*/
</PRE>
<P>
This module does not actually perform the WAIS protocol directly, but it
does using one or more libraries of the freeWAIS distribution. The ui.a library
came with the old free WAIS from TMC, the client.a and wais.a libraries are
needed from the freeWAIS from <A HREF="http://www.cnidr.org">CNIDR</A>.
<P>
If you include this module in the library, you must also
<UL>
  <LI>
    Compile the Library by including the <CODE>--with-wais </CODE>directive in
    the <A HREF="../../INSTALL.html">configure script</A>.
  <LI>
    Have the WAIS Library available
</UL>
<P>
The wais source files are parsed by a separate and independent module,
<A NAME="z1" HREF="HTWSRC.html">HTWSRC</A>. You can include HTWSRC without
including direct wais using this module, and your WWW code will be able to
read source files, and access WAIS indexes through a gateway.
<P>
A <A HREF="../User/WAIS.html" NAME="z2">WAIS-WWW gateway</A> is just a normal
Web server with a libwww compiled with this module.
<P>
This module is implemented by <A HREF="HTWAIS.c">HTWAIS.c</A>, and it is
a part of the <A HREF="http://www.w3.org/Library/"> W3C Sample Code
Library</A>.
<PRE>
#ifndef HTWAIS_H
#define HTWAIS_H

#include "<A HREF="HTEvent.html">HTEvent.h</A>"
</PRE>
<H2>
  Control Flags
</H2>
<P>
The number of lines handled from a WAIS search is determined by this variable.
The default value is 100 (this is defined in the module)
<PRE>
extern int HTMaxWAISLines;

extern HTProtCallback HTLoadWAIS;
</PRE>
<PRE>
#endif
</PRE>
<P>
  <HR>
<ADDRESS>
  @(#) $Id: HTWAIS.html,v 2.27 1998/05/14 02:11:17 frystyk Exp $
</ADDRESS>
</BODY></HTML>

Webmaster