summaryrefslogtreecommitdiffstats
path: root/plugins/check_users.d/users.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-02-25 15:02:55 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-07 23:38:50 +0100
commitd35c43e95f9efed3ef89bee288b8ec8f65ad2014 (patch)
tree0c2b22b8bf2dbf54347aa760fc88e0e1f25ebb1e /plugins/check_users.d/users.h
parent53247ae748174ddb639bb5fd9a19c8a6ad121717 (diff)
downloadmonitoring-plugins-d35c43e95f9efed3ef89bee288b8ec8f65ad2014.tar.gz
Revert "Migrate check_users to new ouput infrastructure"
This reverts commit 10086edbf03fd807794bcfb3fff626da69a9fdb2.
Diffstat (limited to 'plugins/check_users.d/users.h')
-rw-r--r--plugins/check_users.d/users.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/check_users.d/users.h b/plugins/check_users.d/users.h
deleted file mode 100644
index aacba775..00000000
--- a/plugins/check_users.d/users.h
+++ /dev/null
@@ -1,18 +0,0 @@
1#pragma once
2
3typedef struct get_num_of_users_wrapper {
4 int errorcode;
5 int users;
6} get_num_of_users_wrapper;
7
8enum {
9 NO_SYSTEMD_ERROR = 64,
10 WINDOWS_COULD_NOT_ENUMERATE_SESSIONS,
11 COULD_NOT_OPEN_PIPE,
12 STDERR_COULD_NOT_BE_READ,
13};
14
15get_num_of_users_wrapper get_num_of_users_systemd();
16get_num_of_users_wrapper get_num_of_users_utmp();
17get_num_of_users_wrapper get_num_of_users_windows();
18get_num_of_users_wrapper get_num_of_users_who_command();