--- /dev/null
+/* Gateway kernel
+ * Europagate, 1995
+ *
+ * $Log: gips.c,v $
+ * 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 <stdio.h>
+#include <stdlib.h>
+#include <assert.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+
+#include <gip.h>
+
+GIP gips_initialize (const char *name)
+{
+ return gip_initialize (name);
+}
+
+int gips_destroy (GIP gip)
+{
+ return gip_destroy (gip);
+}
+
+int gips_open (GIP gip, const char *client)
+{
+ gip->wfd = open (client, O_WRONLY);
+ gip->rfd = open (gip->name, O_RDONLY);
+ if (gip->rfd == -1)
+ return -1;
+ if (gip->wfd == -1)
+ return -1;
+ return 0;
+}
+
+int gips_close (GIP gip)
+{
+ close (gip->rfd);
+ close (gip->wfd);
+ return 0;
+}