projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed from the old `libconfig' to the new `liboconfig'.
[collectd.git]
/
src
/
collectd.h
diff --git
a/src/collectd.h
b/src/collectd.h
index
c05b3e7
..
7784d55
100644
(file)
--- a/
src/collectd.h
+++ b/
src/collectd.h
@@
-221,11
+221,12
@@
# define COLLECTD_XFF 0.1
#endif
# define COLLECTD_XFF 0.1
#endif
+#define STATIC_ARRAY_LEN(array) (sizeof (array) / sizeof ((array)[0]))
+
extern time_t curtime;
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); */
/* int main (int argc, char **argv); */