summaryrefslogtreecommitdiffstats
path: root/plugins/check_users.d/config.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-08-11 23:22:54 +0200
committerGitHub <noreply@github.com>2025-08-11 23:22:54 +0200
commit723e0d3466d85a6ed9811d0661db289e7d9406d9 (patch)
tree4b26f57d9f62c3cb084e063011910efa42fea0f4 /plugins/check_users.d/config.h
parent2046ae85574c32370facab3c01f2152e56e1e981 (diff)
parent7382fa90f84d38cd2ae08c880e9ed6a4ad644d35 (diff)
downloadmonitoring-plugins-723e0d3466d85a6ed9811d0661db289e7d9406d9.tar.gz
Merge pull request #2107 from RincewindsHat/refactor/check_users
Refactor/check users
Diffstat (limited to 'plugins/check_users.d/config.h')
-rw-r--r--plugins/check_users.d/config.h20
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
6typedef 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
13check_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}