summaryrefslogtreecommitdiffstats
path: root/ml/ml-dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'ml/ml-dummy.c')
-rw-r--r--ml/ml-dummy.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/ml/ml-dummy.c b/ml/ml-dummy.c
index 222f0b0f6..fad480f4b 100644
--- a/ml/ml-dummy.c
+++ b/ml/ml-dummy.c
@@ -4,6 +4,15 @@
#if !defined(ENABLE_ML)
+bool ml_capable() {
+ return false;
+}
+
+bool ml_enabled(RRDHOST *RH) {
+ (void) RH;
+ return false;
+}
+
void ml_init(void) {}
void ml_new_host(RRDHOST *RH) { (void) RH; }
@@ -38,4 +47,19 @@ char *ml_get_anomaly_event_info(RRDHOST *RH, const char *AnomalyDetectorName,
return NULL;
}
+void ml_process_rrdr(RRDR *R, int MaxAnomalyRates) {
+ (void) R;
+ (void) MaxAnomalyRates;
+}
+
+void ml_dimension_update_name(RRDSET *RS, RRDDIM *RD, const char *name) {
+ (void) RS;
+ (void) RD;
+ (void) name;
+}
+
+bool ml_streaming_enabled() {
+ return false;
+}
+
#endif