strbuf: add strbuf_read_once to read without blocking
[git/git.git] / sigchain.h
CommitLineData
4a16d072
JK
1#ifndef SIGCHAIN_H
2#define SIGCHAIN_H
3
4typedef void (*sigchain_fun)(int);
5
6int sigchain_push(int sig, sigchain_fun f);
7int sigchain_pop(int sig);
8
57b235a4
JK
9void sigchain_push_common(sigchain_fun f);
10
4a16d072 11#endif /* SIGCHAIN_H */