* Europagate, 1995
*
* $Log: gips.c,v $
- * Revision 1.1 1995/03/27 08:25:00 adam
+ * Revision 1.2 1995/04/19 16:02:06 adam
+ * Some hacks to get the FIFO communication work!! Isn't reliable.
+ *
+ * Revision 1.1 1995/03/27 08:25:00 adam
* New module gip: Gateway IPc module.
* New module gw-db: Gateway hash-db module (user information table).
*
#include <unistd.h>
#include <fcntl.h>
+#include <gw-log.h>
#include <gip.h>
GIP gips_initialize (const char *name)
int gips_open (GIP gip, const char *client)
{
+ gw_log (GW_LOG_DEBUG, "gips", "open writeonly of %s", client);
gip->wfd = open (client, O_WRONLY);
+ gw_log (GW_LOG_DEBUG, "gips", "open readonly of %s", gip->name);
gip->rfd = open (gip->name, O_RDONLY);
if (gip->rfd == -1)
return -1;