| 1 | #ifndef SIGCHAIN_H |
| 2 | #define SIGCHAIN_H |
| 3 | |
| 4 | typedef void (*sigchain_fun)(int); |
| 5 | |
| 6 | int sigchain_push(int sig, sigchain_fun f); |
| 7 | int sigchain_pop(int sig); |
| 8 | |
| 9 | void sigchain_push_common(sigchain_fun f); |
| 10 | void sigchain_pop_common(void); |
| 11 | |
| 12 | #endif /* SIGCHAIN_H */ |