aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/kex.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-12-12 00:23:53 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-12-12 00:23:53 +0100
commitad7e9d88fbf36d0fdfb169cfa45c67d15da13263 (patch)
treef79a7ad6714eecafc7618feed9a5535f5ee33b9e /include/libssh/kex.h
parent3ace7817b4c438d34f63313493cd82ae0dcf2757 (diff)
downloadlibssh-ad7e9d88fbf36d0fdfb169cfa45c67d15da13263.tar.gz
libssh-ad7e9d88fbf36d0fdfb169cfa45c67d15da13263.tar.xz
libssh-ad7e9d88fbf36d0fdfb169cfa45c67d15da13263.zip
packet SSH_KEXINIT received and parsed
Resolved some bugs in the callback mechanism as well
Diffstat (limited to 'include/libssh/kex.h')
-rw-r--r--include/libssh/kex.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/libssh/kex.h b/include/libssh/kex.h
new file mode 100644
index 00000000..89030d95
--- /dev/null
+++ b/include/libssh/kex.h
@@ -0,0 +1,30 @@
+/*
+ * This file is part of the SSH Library
+ *
+ * Copyright (c) 2009 by Aris Adamantiadis
+ *
+ * The SSH Library is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at your
+ * option) any later version.
+ *
+ * The SSH Library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with the SSH Library; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA.
+ */
+
+#ifndef KEX_H_
+#define KEX_H_
+
+#include "libssh/priv.h"
+#include "libssh/callbacks.h"
+
+SSH_PACKET_CALLBACK(ssh_packet_kexinit);
+
+#endif /* KEX_H_ */