X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_cache.h;fp=src%2Futils_cache.h;h=d754a32c080522a4f32cec7d977ef12ecd150e50;hb=5472038917e3fbf19e4706e488c1522018c51749;hp=a965febe9cd445a3ef25bded87603615e3030ec5;hpb=35f98b6e5c4c30bd7aeb52c7894c5f6e276638da;p=collectd.git diff --git a/src/utils_cache.h b/src/utils_cache.h index a965febe..d754a32c 100644 --- a/src/utils_cache.h +++ b/src/utils_cache.h @@ -40,5 +40,10 @@ int uc_get_names (char ***ret_names, time_t **ret_times, size_t *ret_number); int uc_get_state (const data_set_t *ds, const value_list_t *vl); int uc_set_state (const data_set_t *ds, const value_list_t *vl, int state); +int uc_get_history (const data_set_t *ds, const value_list_t *vl, + gauge_t *ret_history, size_t num_steps, size_t num_ds); +int uc_get_history_by_name (const char *name, + gauge_t *ret_history, size_t num_steps, size_t num_ds); + /* vim: set shiftwidth=2 softtabstop=2 tabstop=8 : */ #endif /* !UTILS_CACHE_H */