First use of Zdist library. Search requests are supported.
[egate.git] / kernel / kernel.h
1 /* Gateway kernel
2  * Europagate, 1995
3  *
4  * $Log: kernel.h,v $
5  * Revision 1.3  1995/02/16 18:35:08  adam
6  * First use of Zdist library. Search requests are supported.
7  * Present requests are not supported yet.
8  *
9  * Revision 1.2  1995/02/16  13:20:59  adam
10  * Organization of resource files for targets and conversion
11  * language implemented.
12  *
13  * Revision 1.1  1995/02/15  17:45:29  adam
14  * First version of email gateway kernel. Email requests are read
15  * from stdin. The output is transferred to an MTA if 'From' is
16  * found in the header - or stdout if absent. No Z39.50 client is used.
17  *
18  */
19
20 #include <gw-res.h>
21 #include <gw-log.h>
22 #include <ccl.h>
23 #include <zaccess.h>
24
25 int urp (FILE *inf);
26
27 struct gw_kernel_info {
28     CCL_bibset bibset;
29     GwRes kernel_res;
30     const char *default_res; 
31     const char *override_res;
32     char target[128];
33     char hostname[128];
34     int  port;
35     const char *lang;
36     const char *override_portno;
37     const char *override_hostname;
38     char *databases;
39     ZASS  zass;
40 };
41
42 extern struct gw_kernel_info info;
43
44 extern FILE *reply_fd;
45
46 void read_kernel_res (void);