comparison cli-session.c @ 107:d3eb1fa8484e

Nasty.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 24 Aug 2004 18:12:18 +0000
parents c72f5c10125d
children 10f4d3319780
comparison
equal deleted inserted replaced
106:e13f8a712a1c 107:d3eb1fa8484e
46 /* Sorted in decreasing frequency will be more efficient - data and window 46 /* Sorted in decreasing frequency will be more efficient - data and window
47 * should be first */ 47 * should be first */
48 static const packettype cli_packettypes[] = { 48 static const packettype cli_packettypes[] = {
49 /* TYPE, FUNCTION */ 49 /* TYPE, FUNCTION */
50 {SSH_MSG_CHANNEL_DATA, recv_msg_channel_data}, 50 {SSH_MSG_CHANNEL_DATA, recv_msg_channel_data},
51 {SSH_MSG_CHANNEL_EXTENDED_DATA, recv_msg_channel_extended_data},
51 {SSH_MSG_CHANNEL_WINDOW_ADJUST, recv_msg_channel_window_adjust}, 52 {SSH_MSG_CHANNEL_WINDOW_ADJUST, recv_msg_channel_window_adjust},
52 {SSH_MSG_USERAUTH_FAILURE, recv_msg_userauth_failure}, /* client */ 53 {SSH_MSG_USERAUTH_FAILURE, recv_msg_userauth_failure}, /* client */
53 {SSH_MSG_USERAUTH_SUCCESS, recv_msg_userauth_success}, /* client */ 54 {SSH_MSG_USERAUTH_SUCCESS, recv_msg_userauth_success}, /* client */
54 {SSH_MSG_KEXINIT, recv_msg_kexinit}, 55 {SSH_MSG_KEXINIT, recv_msg_kexinit},
55 {SSH_MSG_KEXDH_REPLY, recv_msg_kexdh_reply}, /* client */ 56 {SSH_MSG_KEXDH_REPLY, recv_msg_kexdh_reply}, /* client */