diff options
Diffstat (limited to 'plugins/check_users.d/config.h')
| -rw-r--r-- | plugins/check_users.d/config.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/check_users.d/config.h b/plugins/check_users.d/config.h new file mode 100644 index 00000000..26d3ee70 --- /dev/null +++ b/plugins/check_users.d/config.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "output.h" | ||
| 4 | #include "thresholds.h" | ||
| 5 | |||
| 6 | typedef struct check_users_config { | ||
| 7 | mp_thresholds thresholds; | ||
| 8 | |||
| 9 | bool output_format_is_set; | ||
| 10 | mp_output_format output_format; | ||
| 11 | } check_users_config; | ||
| 12 | |||
| 13 | check_users_config check_users_config_init() { | ||
| 14 | check_users_config tmp = { | ||
| 15 | .thresholds = mp_thresholds_init(), | ||
| 16 | |||
| 17 | .output_format_is_set = false, | ||
| 18 | }; | ||
| 19 | return tmp; | ||
| 20 | } | ||
