projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented function to subtract two `struct timeval' and get the difference in a...
[collectd.git]
/
src
/
common.h
diff --git
a/src/common.h
b/src/common.h
index
59984b1
..
fafce4a
100644
(file)
--- a/
src/common.h
+++ b/
src/common.h
@@
-103,6
+103,9
@@
int strjoin (char *dst, size_t dst_len, char **fields, size_t fields_num, const
*/
int escape_slashes (char *buf, int buf_len);
*/
int escape_slashes (char *buf, int buf_len);
+/* FIXME: `timeval_sub_timespec' needs a description */
+int timeval_sub_timespec (struct timeval *tv0, struct timeval *tv1, struct timespec *ret);
+
int rrd_update_file (char *host, char *file, char *values, char **ds_def,
int ds_num);
int rrd_update_file (char *host, char *file, char *values, char **ds_def,
int ds_num);