1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
/* WAIS protocol module for the W3 library
WAIS PROTOCOL INTERFACE
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.
Note: The current version suppored is freeWAIS-0.3, June 1994
If you include this module in the library, you must also
Register the HTWAIS protocol at initialisation (e.g. HTInit or HTSInit) by
compiling it with -DDIRECT_WAIS
Link with the WAIS libraries
The wais source files are parsed by a separate and independent module, HTWSRC. 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.
A WAIS-WWW gateway is just a normal W3 server with a libwww compiled with this module.
Anyways, this interface won't change much:
*/
#ifndef HTWAIS_H
#define HTWAIS_H
#include "HTUtils.h"
#include "HTAccess.h"
/*
Control Flags
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)
*/
extern int HTMaxWAISLines;
GLOBALREF HTProtocol HTWAIS;
/*
End of Difinition module
*/
#endif
/*
Tim BL
*/
|