summaryrefslogtreecommitdiffstats
path: root/plugins/check_users.d/config.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-12 22:01:46 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-12 22:01:46 +0100
commit6ac236c1ef06ef17541d3919aed2a008aabaa7f4 (patch)
treec34e7cedcd3a4540b4de0e40df5f6ba104a45f7f /plugins/check_users.d/config.h
parent39b9b62adda3887e7706754d4e34a7eff2f793b5 (diff)
downloadmonitoring-plugins-6ac236c1ef06ef17541d3919aed2a008aabaa7f4.tar.gz
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}