From: Florian Forster Date: Thu, 18 Oct 2018 16:14:09 +0000 (+0200) Subject: src/daemon/utils_cache_mock.c: Add uc_meta_data_{add,get}_signed_int(). X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3e3907ba7f2ed1825a1d98b3047b205e9ea97158;p=collectd.git src/daemon/utils_cache_mock.c: Add uc_meta_data_{add,get}_signed_int(). Fixes test_format_stackdriver. --- diff --git a/src/daemon/utils_cache_mock.c b/src/daemon/utils_cache_mock.c index 0b8c997b..7d7e4368 100644 --- a/src/daemon/utils_cache_mock.c +++ b/src/daemon/utils_cache_mock.c @@ -49,11 +49,21 @@ int uc_get_value_by_name(const char *name, value_t **ret_values, return ENOTSUP; } +int uc_meta_data_get_signed_int(const value_list_t *vl, const char *key, + int64_t *value) { + return -ENOENT; +} + int uc_meta_data_get_unsigned_int(const value_list_t *vl, const char *key, uint64_t *value) { return -ENOENT; } +int uc_meta_data_add_signed_int(const value_list_t *vl, const char *key, + int64_t value) { + return 0; +} + int uc_meta_data_add_unsigned_int(const value_list_t *vl, const char *key, uint64_t value) { return 0;