summaryrefslogtreecommitdiffstats
path: root/plugins/check_ssh.d
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ssh.d')
-rw-r--r--plugins/check_ssh.d/config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/check_ssh.d/config.h b/plugins/check_ssh.d/config.h
new file mode 100644
index 00000000..05698d83
--- /dev/null
+++ b/plugins/check_ssh.d/config.h
@@ -0,0 +1,21 @@
1#pragma once
2
3#include <stddef.h>
4
5typedef struct check_ssh_config {
6 int port;
7 char *server_name;
8 char *remote_version;
9 char *remote_protocol;
10} check_ssh_config;
11
12check_ssh_config check_ssh_config_init(void) {
13 check_ssh_config tmp = {
14 .port = -1,
15 .server_name = NULL,
16 .remote_version = NULL,
17 .remote_protocol = NULL,
18 };
19
20 return tmp;
21}