Expose meta_data_toc function.
[collectd.git] / src / daemon / utils_cache.c
index 672b01f..5e8cf75 100644 (file)
@@ -1003,6 +1003,11 @@ int uc_meta_data_exists(const value_list_t *vl,
 
     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)
+
 #undef UC_WRAP
 
 /* We need a new version of this macro because the following functions take