2 #define NETDATA_MAIN_H 1
4 extern volatile sig_atomic_t netdata_exit;
7 * This struct contains information about command line options.
10 /** The option character */
12 /** The name of the long option. */
13 const char *description;
14 /** Short descripton what the option does */
15 /** Name of the argument displayed in SYNOPSIS */
17 /** Default value if not set */
18 const char *default_value;
22 * List of command line options.
23 * This can be used to compute manpage, help messages, ect.
25 extern struct option_def options[];
27 extern void kill_childs(void);
28 extern int killpid(pid_t pid, int signal);
29 extern void netdata_cleanup_and_exit(int ret) __attribute__ ((noreturn));
31 #endif /* NETDATA_MAIN_H */