diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-09 02:07:32 +0200 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-09 02:07:32 +0200 |
| commit | fbd60d6a9d9ba5b45879280dcfda92379dec65da (patch) | |
| tree | a7c0e428be10bb27b6344c6531b804451c4d40cc /plugins/check_users.d/config.h | |
| parent | b54869391faab7ef91586c81de21f18a61bac5aa (diff) | |
| parent | 615fec347cd575c0ee4343aa17ee99962f375f64 (diff) | |
| download | monitoring-plugins-fbd60d6a9d9ba5b45879280dcfda92379dec65da.tar.gz | |
Merge branch 'master' into refactor/check_curl
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 | } | ||
