aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/kex.h')
-rw-r--r--include/libssh/kex.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libssh/kex.h b/include/libssh/kex.h
index ce2a102b..dbf69ab9 100644
--- a/include/libssh/kex.h
+++ b/include/libssh/kex.h
@@ -25,6 +25,13 @@
#include "libssh/priv.h"
#include "libssh/callbacks.h"
+#define SSH_KEX_METHODS 10
+
+typedef struct ssh_kex_struct {
+ unsigned char cookie[16];
+ char *methods[SSH_KEX_METHODS];
+} KEX;
+
SSH_PACKET_CALLBACK(ssh_packet_kexinit);
#ifdef WITH_SSH1
SSH_PACKET_CALLBACK(ssh_packet_publickey1);