summaryrefslogtreecommitdiffstats
path: root/src/main.h
blob: d9edda58e6c71574c3fe78dc05ccfbf486431f31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef NETDATA_MAIN_H
#define NETDATA_MAIN_H 1

#include <signal.h>

extern volatile sig_atomic_t netdata_exit;

extern void kill_childs(void);
extern int killpid(pid_t pid, int signal);
extern void netdata_cleanup_and_exit(int ret);

#endif /* NETDATA_MAIN_H */