* 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);