Debian Codegraph @

WWW/Library/Implementation/HTWAIS.h

raw
1 /* WAIS protocol module for the W3 library
2 WAIS PROTOCOL INTERFACE
3
4 This module does not actually perform the WAIS protocol directly, but it does using one
5 or more libraries of the freeWAIS distribution. The ui.a library came with the old free
6 WAIS from TMC, the client.a and wais.a libraries are needed from the freeWAIS from
7 CNIDR.
8
9 If you include this module in the library, you must also
10
11 Register the HTWAIS protocol at initialisation (e.g., HTInit or HTSInit) by compiling
12 it with -DDIRECT_WAIS
13
14 Link with the WAIS libraries
15
16 The wais source files are parsed by a separate and independent module, HTWSRC . You
17 can include HTWSRC without including direct wais using this module, and your WWW code
18 will be able to read source files, and access WAIS indexes through a gateway.
19
20 A WAIS-WWW gateway is just a normal W3 server with a libwww compiled with this module.
21
22 Anyways, this interface won't change much:
23
24 */
25 #ifndef HTWAIS_H
26 #define HTWAIS_H
27
28 #include <HTAccess.h>
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 #ifdef GLOBALREF_IS_MACRO
34 extern GLOBALREF (HTProtocol, HTWAIS);
35
36 #else
37 GLOBALREF HTProtocol HTWAIS;
38 #endif /* GLOBALDEF_IS_MACRO */
39
40 #ifdef __cplusplus
41 }
42 #endif
43 #endif /* HTWAIS_H */