|
|
1.1 ! root 1: /* information returned by listen */ ! 2: typedef struct { ! 3: int rfd; /* fd for reply */ ! 4: int cfd; /* fd for communications */ ! 5: char *myname; /* translated part of name */ ! 6: char *name; /* untranslated part of name */ ! 7: char *param; /* parameters used to set up call */ ! 8: char *machine; /* machine id of caller */ ! 9: char *user; /* user name of caller */ ! 10: int uid, gid; /* uid, gid of caller */ ! 11: char flags; /* type of communication */ ! 12: } ipcinfo; ! 13: ! 14: /* communication flags */ ! 15: #define IPC_OPEN 0x0 ! 16: #define IPC_CREAT 0x1 ! 17: #define IPC_HANDOFF 0x2 ! 18: #define IPC_CAREFUL 0x4 ! 19: ! 20: /* library definitions */ ! 21: extern int ipcopen(); ! 22: extern int ipccreat(); ! 23: extern ipcinfo *ipclisten(); ! 24: extern int ipcaccept(); ! 25: extern int ipcdaccept(); ! 26: extern int ipcreject(); ! 27: extern int ipclogin(); ! 28: extern int ipcrogin(); ! 29: extern char *ipcpath(); ! 30: extern int ipcexec(); ! 31: ! 32: /* import */ ! 33: extern int errno; ! 34: extern char *errstr; ! 35: extern char *ipcname;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.