File:  [Public] / libwww / Library / src / HTWAIS.html
Revision 2.11: download - view: text, annotated - select for diffs
Thu May 4 22:08:59 1995 UTC (29 years, 1 month ago) by frystyk
Branches: MAIN
CVS tags: HEAD
Basics of release 3.1

<HTML>
<HEAD>
<TITLE>WAIS protocol module for the W3 library</TITLE>
</HEAD>
<BODY>

<H1>WAIS Protocol Interface</H1>

<PRE>
/*
**	(c) COPYRIGHT CERN 1994.
**	Please first read the full copyright statement in the file COPYRIGH.
*/
</PRE>

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 CNIDR. <P>

<EM><B>Note: </B>The current version suppored is freeWAIS-0.3, June 1994</EM><P>

If you include this module in the library, you must also

<UL>
<LI> Register the HTWAIS protocol at initialisation (e.g. HTInit or HTSInit)
     by compiling it with -DHT_DIRECT_WAIS
<LI> Link with the WAIS libraries
</UL>

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 NAME="z2" HREF="../../Daemon/WAISGate.html">WAIS-WWW gateway</A>
is just a normal W3 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/hypertext/WWW/Library/User/Guide/Guide.html">
Library of Common Code</A>.

<PRE>
#ifndef HTWAIS_H
#define HTWAIS_H

#include "HTAccess.h"
</PRE>

<H2>Control Flags</H2>

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;

GLOBALREF HTProtocol HTWAIS;
</PRE>

End of Difinition module

<PRE>
#endif

</PRE>

<ADDRESS><A NAME="0" HREF="http://www.w3.org./hypertext/TBL_Disclaimer.html">Tim BL</A>
</ADDRESS>
</BODY>
</HTML>

Webmaster