X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_threshold.h;h=948f80708627e4b4eacc5a3152fbb97f96f3e4ac;hb=b3a2880887f7accbdf9c661d5d8fea28a050ea73;hp=d1abf563ebe0d7ce94d2fd6844282f55744da905;hpb=082be7a56f25e0561be6ce87e5662e01b1e91975;p=collectd.git diff --git a/src/utils_threshold.h b/src/utils_threshold.h index d1abf563..948f8070 100644 --- a/src/utils_threshold.h +++ b/src/utils_threshold.h @@ -48,6 +48,15 @@ typedef struct threshold_s extern c_avl_tree_t *threshold_tree; extern pthread_mutex_t threshold_lock; +threshold_t *threshold_get (const char *hostname, + const char *plugin, const char *plugin_instance, + const char *type, const char *type_instance); + +threshold_t *threshold_search (const value_list_t *vl); + +int ut_search_threshold (const value_list_t *vl, + threshold_t *ret_threshold); + #endif /* UTILS_THRESHOLD_H */ /* vim: set sw=2 sts=2 ts=8 : */