]> arthur.barton.de Git - netdata.git/blobdiff - src/common.h
apps.plugin now checks its capabilities where available
[netdata.git] / src / common.h
index 9e9cc8fc09c837efe1656a4d2893d7a52265e6d1..04d1821f890df8bf67459178b1d10c6d6853c184 100644 (file)
 #include <zlib.h>
 #endif
 
+#ifdef HAVE_CAPABILITY
+#include <sys/capability.h>
+#endif
+
 // ----------------------------------------------------------------------------
 // netdata common definitions
 
 #include "unit_test.h"
 #include "ipc.h"
 #include "backends.h"
+#include "inlined.h"
+#include "adaptive_resortable_list.h"
 
 extern void netdata_fix_chart_id(char *s);
 extern void netdata_fix_chart_name(char *s);
 
-extern uint32_t simple_hash(const char *name);
-extern uint32_t simple_uhash(const char *name);
-
 extern void strreverse(char* begin, char* end);
 extern char *mystrsep(char **ptr, char *s);
 extern char *trim(char *s);
@@ -277,6 +280,4 @@ extern void get_system_HZ(void);
 #endif
 #endif
 
-extern int read_single_number_file(const char *filename, unsigned long long *result);
-
 #endif /* NETDATA_COMMON_H */