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