X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Futils_cache.c;fp=src%2Fdaemon%2Futils_cache.c;h=cf2095eec12fb0190ce30e187173ea6d7490d433;hp=672b01f101e81af90a774b255a64bef2992d9669;hb=97814b4c9b2657258442fd163e5ee8479bfe4479;hpb=f43a473fd8ffa483bd7d74579a22886ab2df9101 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