about summary refs log tree commit diff
path: root/sigchain.h
blob: 138b20f54b4017c1f38036935f483c628094affb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef SIGCHAIN_H
#define SIGCHAIN_H

typedef void (*sigchain_fun)(int);

int sigchain_push(int sig, sigchain_fun f);
int sigchain_pop(int sig);

void sigchain_push_common(sigchain_fun f);
void sigchain_pop_common(void);

#endif /* SIGCHAIN_H */