Code

irq plugin: Converted to the new plugin interface.
[collectd.git] / src / collectd.h
index c05b3e7bba65d543f17bcad77d35d92037ad2b43..7784d5540845de90172ac9da7662fcbd442df139 100644 (file)
 #  define COLLECTD_XFF 0.1
 #endif
 
+#define STATIC_ARRAY_LEN(array) (sizeof (array) / sizeof ((array)[0]))
+
 extern time_t curtime;
 
-#ifdef HAVE_LIBRRD
-extern int operating_mode;
-#endif
+int pidfile_set (const char *file);
+const char *pidfile_get (void);
 
 /* int main (int argc, char **argv); */