summaryrefslogtreecommitdiffstats
path: root/plugins/check_ldap.d/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ldap.d/config.h')
-rw-r--r--plugins/check_ldap.d/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/check_ldap.d/config.h b/plugins/check_ldap.d/config.h
index 9e6bb845..50191725 100644
--- a/plugins/check_ldap.d/config.h
+++ b/plugins/check_ldap.d/config.h
@@ -1,6 +1,7 @@
1#pragma once 1#pragma once
2 2
3#include "../../config.h" 3#include "../../config.h"
4#include "output.h"
4#include "thresholds.h" 5#include "thresholds.h"
5#include <stddef.h> 6#include <stddef.h>
6 7
@@ -27,6 +28,9 @@ typedef struct {
27 28
28 mp_thresholds entries_thresholds; 29 mp_thresholds entries_thresholds;
29 mp_thresholds connection_time_threshold; 30 mp_thresholds connection_time_threshold;
31
32 bool output_format_is_set;
33 mp_output_format output_format;
30} check_ldap_config; 34} check_ldap_config;
31 35
32check_ldap_config check_ldap_config_init() { 36check_ldap_config check_ldap_config_init() {
@@ -45,6 +49,8 @@ check_ldap_config check_ldap_config_init() {
45 49
46 .entries_thresholds = mp_thresholds_init(), 50 .entries_thresholds = mp_thresholds_init(),
47 .connection_time_threshold = mp_thresholds_init(), 51 .connection_time_threshold = mp_thresholds_init(),
52
53 .output_format_is_set = false,
48 }; 54 };
49 return tmp; 55 return tmp;
50} 56}