1 /***************************************************************************
2 ipc.h - Interprocess communication methods
4 copyright : (C) 2006 by Yannick Lecaillez
5 email : sizon5@gmail.com
6 ***************************************************************************/
8 /***************************************************************************
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the BSD License (revised). *
13 ***************************************************************************/
22 int ipc_connect(int s,const char *p);
24 int ipc_bind(int s,const char *p);
25 int ipc_bind_reuse(int s,const char *p);
26 int ipc_accept(int s,char *p,int l,int *trunc);
27 int ipc_local(int s,char *p,int l,int *trunc);
28 int ipc_listen(int s,int backlog);
29 int ipc_eid(int s,uid_t *u,gid_t *g, pid_t *p);
31 int ndelay_on(int fd);
32 int ndelay_off(int fd);
34 int getpeereid(int s,uid_t *u,gid_t *g,pid_t *p);