summaryrefslogtreecommitdiff
path: root/src/protocol/connect_info.h
blob: 0111a39c931d308a4a480e226d58b99ce869cc41 (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
#ifndef CONNECT_INFO_H
#define CONNECT_INFO_H

enum protocol
{
	PROTO_LOCAL,
	PROTO_TELNET,
	PROTO_SSH
};

typedef struct
{
	enum protocol proto;
	struct
	{
		int proto_version;
		const char *c2s_cipher;
		const char *s2c_cipher;
		const char *c2s_mac;
		const char *s2c_mac;
		unsigned char hash[32];
	} ssh_proto_info;
} conn_info_t;

#endif