2 #define NETDATA_MAIN_H 1
5 * This struct contains information about command line options.
8 /** The option character */
10 /** The name of the long option. */
11 const char *description;
12 /** Short descripton what the option does */
13 /** Name of the argument displayed in SYNOPSIS */
15 /** Default value if not set */
16 const char *default_value;
20 * List of command line options.
21 * This can be used to compute manpage, help messages, ect.
23 extern struct option_def options[];
25 struct netdata_static_thread {
35 void (*init_routine) (void);
36 void *(*start_routine) (void *);
39 extern void kill_childs(void);
40 extern int killpid(pid_t pid, int signal);
41 extern void netdata_cleanup_and_exit(int ret) NORETURN;
43 #endif /* NETDATA_MAIN_H */