blob: b193602d682e4136aa45b7391ea5162b828ad386 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef NETDATA_DAEMON_H
#define NETDATA_DAEMON_H 1
extern void sig_handler_exit(int signo);
extern void sig_handler_save(int signo);
extern void sig_handler_logrotate(int signo);
extern void sig_handler_reload_health(int signo);
extern int become_user(const char *username, int pid_fd);
extern int become_daemon(int dont_fork, const char *user);
extern void netdata_cleanup_and_exit(int i);
extern char pidfile[];
#endif /* NETDATA_DAEMON_H */
|