Applied patch by Christophe Kalt which adds the log-mode.
[collectd.git] / src / collectd.h
index 34b0261..0221a59 100644 (file)
 #define MODE_SERVER 0x01
 #define MODE_CLIENT 0x02
 #define MODE_LOCAL  0x04
+#define MODE_LOG    0x08
 
 extern time_t curtime;
+
+#ifdef HAVE_LIBRRD
 extern int operating_mode;
+#endif
 
 /* int main (int argc, char **argv); */