return 0;
} /* int uc_init */
+void uc_destroy(void) {
+ void *key;
+ cache_entry_t *ce;
+
+ if (cache_tree == NULL)
+ return;
+
+ while (c_avl_pick(cache_tree, &key, (void**)&ce) == 0) {
+ sfree(key);
+ cache_free(ce);
+ }
+
+ c_avl_destroy(cache_tree);
+ cache_tree = NULL;
+}
+
int uc_check_timeout(void) {
struct {
char *key;
int uc_init(void);
int uc_check_timeout(void);
int uc_update(metric_family_t const *fam);
+void uc_destroy(void);
gauge_t *uc_get_rate_vl(const data_set_t *ds, const value_list_t *vl);
int uc_get_value_by_name_vl(const char *name, value_t **ret_values,