2010-03-08 04:55:21 -06:00
|
|
|
/* WAIS protocol module for the W3 library
|
|
|
|
WAIS PROTOCOL INTERFACE
|
2013-03-09 18:59:42 -06:00
|
|
|
|
2010-03-08 04:55:21 -06:00
|
|
|
This module does not actually perform the WAIS protocol directly, but it does using one
|
|
|
|
or more library 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.
|
2013-03-09 18:59:42 -06:00
|
|
|
|
2010-03-08 04:55:21 -06:00
|
|
|
If you include this module in the library, you must also
|
2013-03-09 18:59:42 -06:00
|
|
|
|
2010-03-08 04:55:21 -06:00
|
|
|
Register the HTWAIS protocol at initialisation (e.g. HTInit or HTSInit) by compiling
|
|
|
|
it with -DDIRECT_WAIS
|
2013-03-09 18:59:42 -06:00
|
|
|
|
2010-03-08 04:55:21 -06:00
|
|
|
Link with the libraries
|
2013-03-09 18:59:42 -06:00
|
|
|
|
2010-03-08 04:55:21 -06:00
|
|
|
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.
|
2013-03-09 18:59:42 -06:00
|
|
|
|
2010-03-08 04:55:21 -06:00
|
|
|
A WAIS-WWW gateway is just a normal W3 server with a libwww compiled with this module.
|
2013-03-09 18:59:42 -06:00
|
|
|
|
2010-03-08 04:55:21 -06:00
|
|
|
Anyways, this interface won't change much:
|
2013-03-09 18:59:42 -06:00
|
|
|
|
2010-03-08 04:55:21 -06:00
|
|
|
*/
|
|
|
|
#ifndef HTWAIS_H
|
|
|
|
#define HTWAIS_H
|
|
|
|
#include "HTUtils.h"
|
|
|
|
#include "HTAccess.h"
|
|
|
|
|
|
|
|
extern HTProtocol HTWAIS;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
Tim BL */
|