summaryrefslogtreecommitdiffstats
path: root/plugins/check_ssh.d/config.h
blob: 05698d838fea7fca9d1568bc4ab189431ef5ebb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <stddef.h>

typedef struct check_ssh_config {
	int port;
	char *server_name;
	char *remote_version;
	char *remote_protocol;
} check_ssh_config;

check_ssh_config check_ssh_config_init(void) {
	check_ssh_config tmp = {
		.port = -1,
		.server_name = NULL,
		.remote_version = NULL,
		.remote_protocol = NULL,
	};

	return tmp;
}