00001 #ifndef _PCSYNC_H 00002 #define _PCSYNC_H 00003 00004 struct pcsync { 00005 int fdpc[2]; 00006 int fdcp[2]; 00007 }; 00008 00009 bool pcsync_init(struct pcsync *p); 00010 bool pcsync_wait_for_parent(struct pcsync *p); 00011 bool pcsync_unblock_children(struct pcsync *p, int children, 00012 pid_t *pid_child); 00013 bool pcsync_end(struct pcsync *p); 00014 00015 #endif /* _PCSYNC_H */