summaryrefslogtreecommitdiffhomepage
path: root/packet.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-06-23 07:14:16 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-06-23 07:14:16 +0000
commit09b50641ff656b22cf1f24e43d8504a1a7f3afec (patch)
tree287484eb2d40c1dd174f1073a16dd959952ac25a /packet.h
parent8977fbbd97d30ed5a064e2f514abfeb22b7f05dd (diff)
parent18bfb4dd4812ab1e30bb4b2ecb6674ea2d368322 (diff)
merge of abac2150ee4f4031a98016241fbd136d24fed127
and ffa047425729e478a5b49b1ab0f8ec71c08a1421 --HG-- extra : convert_revision : e9b7d4eda64d70aff736f48cc8dea680b153139b
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/packet.h b/packet.h
index d39c9bc..e9768cd 100644
--- a/packet.h
+++ b/packet.h
@@ -32,9 +32,13 @@ void write_packet();
void read_packet();
void decrypt_packet();
void encrypt_packet();
-void recv_unimplemented();
-void svr_process_packet();
+void process_packet();
+
+typedef struct PacketType {
+ unsigned char type; /* SSH_MSG_FOO */
+ void (*handler)();
+} packettype;
#define PACKET_PADDING_OFF 4
#define PACKET_PAYLOAD_OFF 5