add_packed_ref(): teach function to overwrite existing refs
[git/debian.git] / sigchain.h
blob138b20f54b4017c1f38036935f483c628094affb
1 #ifndef SIGCHAIN_H
2 #define SIGCHAIN_H
4 typedef void (*sigchain_fun)(int);
6 int sigchain_push(int sig, sigchain_fun f);
7 int sigchain_pop(int sig);
9 void sigchain_push_common(sigchain_fun f);
10 void sigchain_pop_common(void);
12 #endif /* SIGCHAIN_H */