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 struct netdata_static_thread {
37 void (*init_routine) (void);
38 void *(*start_routine) (void *);
41 extern void kill_childs(void);
42 extern int killpid(pid_t pid, int signal);
43 extern void netdata_cleanup_and_exit(int ret) NORETURN;
45 #endif /* NETDATA_MAIN_H */