summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 646827fbd..49afaef12 100644
--- a/src/main.h
+++ b/src/main.h
@@ -24,8 +24,22 @@ struct option_def {
*/
extern struct option_def options[];
+struct netdata_static_thread {
+ char *name;
+
+ char *config_section;
+ char *config_name;
+
+ volatile int enabled;
+
+ pthread_t *thread;
+
+ void (*init_routine) (void);
+ void *(*start_routine) (void *);
+};
+
extern void kill_childs(void);
extern int killpid(pid_t pid, int signal);
-extern void netdata_cleanup_and_exit(int ret) __attribute__ ((noreturn));
+extern void netdata_cleanup_and_exit(int ret) NORETURN;
#endif /* NETDATA_MAIN_H */