Blame WWW/Library/Implementation/HTWAIS.h
|
Packit |
f574b8 |
/* WAIS protocol module for the W3 library
|
|
Packit |
f574b8 |
WAIS PROTOCOL INTERFACE
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
This module does not actually perform the WAIS protocol directly, but it does using one
|
|
Packit |
f574b8 |
or more libraries of the freeWAIS distribution. The ui.a library came with the old free
|
|
Packit |
f574b8 |
WAIS from TMC, the client.a and wais.a libraries are needed from the freeWAIS from
|
|
Packit |
f574b8 |
CNIDR.
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
If you include this module in the library, you must also
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
Register the HTWAIS protocol at initialisation (e.g., HTInit or HTSInit) by compiling
|
|
Packit |
f574b8 |
it with -DDIRECT_WAIS
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
Link with the WAIS libraries
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
The wais source files are parsed by a separate and independent module, HTWSRC . You
|
|
Packit |
f574b8 |
can include HTWSRC without including direct wais using this module, and your WWW code
|
|
Packit |
f574b8 |
will be able to read source files, and access WAIS indexes through a gateway.
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
A WAIS-WWW gateway is just a normal W3 server with a libwww compiled with this module.
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
Anyways, this interface won't change much:
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
*/
|
|
Packit |
f574b8 |
#ifndef HTWAIS_H
|
|
Packit |
f574b8 |
#define HTWAIS_H
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
#include <HTAccess.h>
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
#ifdef __cplusplus
|
|
Packit |
f574b8 |
extern "C" {
|
|
Packit |
f574b8 |
#endif
|
|
Packit |
f574b8 |
#ifdef GLOBALREF_IS_MACRO
|
|
Packit |
f574b8 |
extern GLOBALREF (HTProtocol, HTWAIS);
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
#else
|
|
Packit |
f574b8 |
GLOBALREF HTProtocol HTWAIS;
|
|
Packit |
f574b8 |
#endif /* GLOBALDEF_IS_MACRO */
|
|
Packit |
f574b8 |
|
|
Packit |
f574b8 |
#ifdef __cplusplus
|
|
Packit |
f574b8 |
}
|
|
Packit |
f574b8 |
#endif
|
|
Packit |
f574b8 |
#endif /* HTWAIS_H */
|