xevrep.h 352 B

12345678910111213141516171819
  1. #ifndef BACKEND_XEVREP_H_
  2. #define BACKEND_XEVREP_H_
  3. #include <unistd.h>
  4. #include <sys/types.h>
  5. #include <sys/signal.h>
  6. struct xevrep {
  7. sig_atomic_t helper_pid;
  8. sig_atomic_t killed;
  9. };
  10. int xevrep_enable(struct xevrep *xr);
  11. void xevrep_disable(struct xevrep *xr);
  12. void xevrep_sigchld(struct xevrep *xr, int wait);
  13. #endif /* BACKEND_XEVREP_H_ */