X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_cache.c;h=cf2095eec12fb0190ce30e187173ea6d7490d433;hb=8d5ac5e09dddd774c2bee26a765efa0f3eebc462;hp=672b01f101e81af90a774b255a64bef2992d9669;hpb=680c10acef5e4bd8566a214e75eacf293c56154a;p=collectd.git diff --git a/src/daemon/utils_cache.c b/src/daemon/utils_cache.c index 672b01f1..cf2095ee 100644 --- a/src/daemon/utils_cache.c +++ b/src/daemon/utils_cache.c @@ -998,11 +998,17 @@ static meta_data_t *uc_get_meta(const value_list_t *vl) /* {{{ */ pthread_mutex_unlock(&cache_lock); \ return status; \ } -int uc_meta_data_exists(const value_list_t *vl, - const char *key) UC_WRAP(meta_data_exists) +int uc_meta_data_exists(const value_list_t *vl, const char *key) + UC_WRAP(meta_data_exists) + + int uc_meta_data_delete(const value_list_t *vl, const char *key) + UC_WRAP(meta_data_delete) + + /* The second argument is called `toc` in the API, but the macro expects + * `key`. */ + int uc_meta_data_toc(const value_list_t *vl, + char ***key) UC_WRAP(meta_data_toc) - int uc_meta_data_delete(const value_list_t *vl, - const char *key) UC_WRAP(meta_data_delete) #undef UC_WRAP /* We need a new version of this macro because the following functions take