5 * Revision 1.2 1995/03/28 08:03:46 adam
6 * Non-blocking open used when sync is set.
8 * Revision 1.1 1995/03/27 08:24:59 adam
9 * New module gip: Gateway IPc module.
10 * New module gw-db: Gateway hash-db module (user information table).
23 GIP gipc_initialize (const char *name)
25 return gip_initialize (name);
28 int gipc_destroy (GIP gip)
30 return gip_destroy (gip);
33 int gipc_open (GIP gip, const char *server, int sync)
37 gip->rfd = open (gip->name, O_RDONLY);
38 gip->wfd = open (server, O_WRONLY);
42 gip->wfd = open (server, O_WRONLY|O_NONBLOCK);
43 gip->rfd = open (gip->name, O_RDONLY|O_NONBLOCK);
49 fcntl (gip->wfd, F_SETFL, ~(O_NONBLOCK|O_APPEND));
50 fcntl (gip->rfd, F_SETFL, ~(O_NONBLOCK|O_APPEND));
54 int gipc_close (GIP gip)