summaryrefslogtreecommitdiffstats
path: root/tools/lib/subcmd/sigchain.h
blob: 0c919f2874ca37b4b2d5414f7f5473b95cfd8d23 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef __SUBCMD_SIGCHAIN_H
#define __SUBCMD_SIGCHAIN_H

typedef void (*sigchain_fun)(int);

int sigchain_pop(int sig);

void sigchain_push_common(sigchain_fun f);

#endif /* __SUBCMD_SIGCHAIN_H */