summaryrefslogtreecommitdiff
path: root/tools/perf/util/sigchain.h
blob: 618083bce0c66a551fd4d894b31520a67b25bac9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#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);

#endif /* SIGCHAIN_H */