Move threshold_search and threshold_get to utils_threshold.c
[collectd.git] / src / utils_threshold.h
index d1abf56..948f807 100644 (file)
@@ -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 : */