From: Barbara Kaczorowska Date: Fri, 14 Aug 2020 07:44:23 +0000 (+0000) Subject: Add prototype of uc_get_percentile function X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a51fc7fe8696f8caf191176ddb15b74ea89ac88;p=thirdparty%2Fcollectd.git Add prototype of uc_get_percentile function --- diff --git a/src/daemon/utils_cache.h b/src/daemon/utils_cache.h index 514eab558..17e1ebffc 100644 --- a/src/daemon/utils_cache.h +++ b/src/daemon/utils_cache.h @@ -47,6 +47,7 @@ int uc_get_value_by_name_vl(const char *name, value_t **ret_values, size_t *ret_values_num); value_t *uc_get_value_vl(const data_set_t *ds, const value_list_t *vl); +int uc_get_percentile(metric_t const *m, gauge_t *ret_value); int uc_get_rate_by_name(const char *name, gauge_t *ret_value); int uc_get_rate(metric_t const *m, gauge_t *ret_value); int uc_get_value_by_name(const char *name, value_t *ret_value);