blob: c150fd308da418ccd2856ccb90f29fc81b053b96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  | 
#pragma once
#include <stddef.h>
#include "../../lib/monitoringplug.h"
const int default_ssh_port = 22;
typedef struct check_ssh_config {
	int port;
	char *server_name;
	char *remote_version;
	char *remote_protocol;
	bool output_format_is_set;
	mp_output_format output_format;
} check_ssh_config;
check_ssh_config check_ssh_config_init(void) {
	check_ssh_config tmp = {
		.port = default_ssh_port,
		.server_name = NULL,
		.remote_version = NULL,
		.remote_protocol = NULL,
		.output_format_is_set = false,
	};
	return tmp;
}
  |