* Europagate, 1995
*
* $Log: kernel.h,v $
- * Revision 1.1 1995/02/15 17:45:29 adam
+ * Revision 1.4 1995/02/20 21:16:18 adam
+ * FML support. Bug fixes. Profile for drewdb.
+ *
+ * Revision 1.3 1995/02/16 18:35:08 adam
+ * First use of Zdist library. Search requests are supported.
+ * Present requests are not supported yet.
+ *
+ * Revision 1.2 1995/02/16 13:20:59 adam
+ * Organization of resource files for targets and conversion
+ * language implemented.
+ *
+ * Revision 1.1 1995/02/15 17:45:29 adam
* First version of email gateway kernel. Email requests are read
* from stdin. The output is transferred to an MTA if 'From' is
* found in the header - or stdout if absent. No Z39.50 client is used.
#include <gw-res.h>
#include <gw-log.h>
#include <ccl.h>
+#include <zaccess.h>
+
+#include <iso2709.h>
+#if USE_FML
+#include <fmlmarc.h>
+#endif
int urp (FILE *inf);
-extern CCL_bibset bibset;
-extern GwRes kernel_res;
+struct gw_kernel_info {
+ CCL_bibset bibset;
+ GwRes kernel_res;
+ const char *default_res;
+ const char *override_res;
+ char target[128];
+ char hostname[128];
+ int port;
+ const char *lang;
+ const char *override_portno;
+ const char *override_hostname;
+ char *databases;
+ ZASS zass;
+#if USE_FML
+ Fml fml;
+#endif
+};
+
+extern struct gw_kernel_info info;
+
extern FILE *reply_fd;
+
+void read_kernel_res (void);