From: Javier Kohen Date: Wed, 6 Nov 2019 19:47:46 +0000 (-0300) Subject: Update utils_cache.h X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0e2feb760b47ba79d8a51ee52b7836e7fceef971;p=collectd.git Update utils_cache.h --- diff --git a/src/daemon/utils_cache.h b/src/daemon/utils_cache.h index a0692216..9050477f 100644 --- a/src/daemon/utils_cache.h +++ b/src/daemon/utils_cache.h @@ -118,6 +118,8 @@ int uc_iterator_get_meta(uc_iter_t *iter, meta_data_t **ret_meta); */ int uc_meta_data_exists(const value_list_t *vl, const char *key); int uc_meta_data_delete(const value_list_t *vl, const char *key); +/* Same API as meta_data_toc. */ +int uc_meta_data_toc(const value_list_t *vl, char ***toc); int uc_meta_data_add_string(const value_list_t *vl, const char *key, const char *value);