5 * Revision 1.7 1995/02/23 08:32:16 adam
8 * Revision 1.5 1995/02/22 15:22:32 adam
9 * Much more checking of run-time state. Show command never retrieves
10 * more records than indicated by the previous search request. Help
11 * command available. The maximum number of records retrieved can be
14 * Revision 1.4 1995/02/20 21:16:18 adam
15 * FML support. Bug fixes. Profile for drewdb.
17 * Revision 1.3 1995/02/16 18:35:08 adam
18 * First use of Zdist library. Search requests are supported.
19 * Present requests are not supported yet.
21 * Revision 1.2 1995/02/16 13:20:59 adam
22 * Organization of resource files for targets and conversion
23 * language implemented.
25 * Revision 1.1 1995/02/15 17:45:29 adam
26 * First version of email gateway kernel. Email requests are read
27 * from stdin. The output is transferred to an MTA if 'From' is
28 * found in the header - or stdout if absent. No Z39.50 client is used.
45 char *name; /* name of result set */
46 int hits; /* -1 on error */
47 struct gw_user_set *prev;
50 struct gw_kernel_info {
53 const char *default_res;
54 const char *override_res;
59 const char *override_portno;
60 const char *override_hostname;
66 struct gw_user_set *sets;
69 extern struct gw_kernel_info info;
71 extern FILE *reply_fd;
73 void read_kernel_res (void);
75 struct gw_user_set *user_set_add (const char *name, int hits);
76 struct gw_user_set *user_set_search (const char *name);
77 void user_set_init (void);