summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb2155a)
raw | patch | inline | side by side (parent: cb2155a)
author | Florian Forster <octo@collectd.org> | |
Mon, 19 Mar 2012 09:47:22 +0000 (10:47 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 19 Mar 2012 09:47:22 +0000 (10:47 +0100) |
src/common.h | patch | blob | history |
diff --git a/src/common.h b/src/common.h
index 229f7098d6c8948ed69656f5dc30d3e69f47d705..c292abfdfb587cf7a3c6a619df968f6de443deca 100644 (file)
--- a/src/common.h
+++ b/src/common.h
void *user_data);
int walk_directory (const char *dir, dirwalk_callback_f callback,
void *user_data, int hidden);
+/* Returns the number of bytes read or negative on error. */
int read_file_contents (const char *filename, char *buf, int bufsize);
counter_t counter_diff (counter_t old_value, counter_t new_value);