* Europagate, 1995
*
* $Log: main.c,v $
+ * Revision 1.31 2001/02/26 14:32:36 adam
+ * Updated for YAZ 1.7. HTML output tidy up. Added LOC target.
+ *
* Revision 1.30 1996/02/12 10:04:54 adam
* The gateway doesn't try to reconnect if it is already known that
* it will fail (connect_fail flag introduced).
#include <strqueue.h>
#include "kernel.h"
-FILE *reply_fd = stdout;
+FILE *reply_fd;
struct gw_kernel_info info;
int persist_flag;
int stop_flag = 0;
+ reply_fd = stdout;
+
persist_flag = gw_res_bool (info.kernel_res, "gw.persist", 0);
timeout = gw_res_int (info.kernel_res, "gw.timeout", 600);
gw_log (GW_LOG_DEBUG, KERNEL_LOG, "event loop");