Resource gw.account added - default account info.
# Europagate, 1995
#
# $Log: Makefile,v $
-# Revision 1.17 1995/04/19 10:46:17 adam
+# Revision 1.18 1995/04/19 16:01:57 adam
+# Some hacks to get the FIFO communication work!! Isn't reliable.
+# Resource gw.account added - default account info.
+#
+# Revision 1.17 1995/04/19 10:46:17 adam
# Persistency works much better now. New command: status - history-like
#
# Revision 1.16 1995/04/19 07:30:56 adam
#ZINC=-I$(ZPRE)
#ZLIB=$(ZPRE)/libz3950.a
-ZLIB=../../yaz/lib/libyaz.a
+ZLIB=../../../quinn/proj/yaz/lib/libyaz.a
INCLUDE=-I../include
#CFLAGS=-g -Wall
# Email gateway - general kernel resources
-# $Id: default.res,v 1.16 1995/04/19 07:31:00 adam Exp $
+# $Id: default.res,v 1.17 1995/04/19 16:01:57 adam Exp $
#
# Important directories, programs, etc.
gw.reply.mta: /usr/lib/sendmail
gw.bibset: default.bib
gw.target.loc: loc.res
gw.target.drewdb: drewdb.res
+gw.target.dimitris: dimitris.res
gw.databases:
# Language definitions
* Europagate, 1995
*
* $Log: eti.c,v $
- * Revision 1.6 1995/04/17 09:34:27 adam
+ * Revision 1.7 1995/04/19 16:01:57 adam
+ * Some hacks to get the FIFO communication work!! Isn't reliable.
+ * Resource gw.account added - default account info.
+ *
+ * Revision 1.6 1995/04/17 09:34:27 adam
* Timeout (idletime) adjustable. Minor changes in kernel.
*
* Revision 1.5 1995/03/31 09:43:13 adam
signal (SIGPIPE, pipe_handle);
setjmp (retry_jmp);
++pass;
+ signal (SIGPIPE, pipe_handle);
gw_log (GW_LOG_DEBUG, module, "Pass %d", pass);
if (pass == 1)
r = gipc_open (gip, fifo_server_name, 0);
else if (pass == 2)
{
+#if 0
gipc_close (gip);
+#endif
+ gipc_destroy (gip);
+ unlink (fifo_server_name);
+ unlink (fifo_client_name);
+ gip = gipc_initialize (fifo_client_name);
start_kernel (argc, argv, id);
+ sleep (2);
r = gipc_open (gip, fifo_server_name, 1);
}
else if (pass == 3)
* Europagate, 1995
*
* $Log: main.c,v $
- * Revision 1.18 1995/04/19 13:19:09 adam
+ * Revision 1.19 1995/04/19 16:01:58 adam
+ * Some hacks to get the FIFO communication work!! Isn't reliable.
+ * Resource gw.account added - default account info.
+ *
+ * Revision 1.18 1995/04/19 13:19:09 adam
* New command: account - for authentication.
*
* Revision 1.17 1995/04/19 10:46:18 adam
gip = gips_initialize (fifo_server_name);
gips_open (gip, fifo_client_name);
gip_fd = gip_infileno (gip);
+ open (fifo_server_name, O_WRONLY);
while (1)
{
sizeof(info.hostname)-1);
info.port = atoi (gw_res_get (info.kernel_res,
"gw.portno", "210"));
+ strcpy (info.account, gw_res_get (info.kernel_res, "gw.account", ""));
}
if (info.databases)
free (info.databases);
* Europagate, 1995
*
* $Log: urp.c,v $
- * Revision 1.28 1995/04/19 13:19:09 adam
+ * Revision 1.29 1995/04/19 16:01:58 adam
+ * Some hacks to get the FIFO communication work!! Isn't reliable.
+ * Resource gw.account added - default account info.
+ *
+ * Revision 1.28 1995/04/19 13:19:09 adam
* New command: account - for authentication.
*
* Revision 1.27 1995/04/19 10:46:19 adam
{
if (r == -1)
gw_log (GW_LOG_WARN|GW_LOG_ERRNO, KERNEL_LOG, "read fail");
+ else
+ gw_log (GW_LOG_WARN, KERNEL_LOG, "read eof");
buf[no] = '\0';
return 0;
}