diff options
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -11,7 +11,7 @@ | |||
11 | * called by a name other than "ssh" or "Secure Shell". | 11 | * called by a name other than "ssh" or "Secure Shell". |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /* RCSID("$OpenBSD: packet.h,v 1.22 2001/04/14 16:33:20 stevesk Exp $"); */ | 14 | /* RCSID("$OpenBSD: packet.h,v 1.23 2001/05/28 23:58:35 markus Exp $"); */ |
15 | 15 | ||
16 | #ifndef PACKET_H | 16 | #ifndef PACKET_H |
17 | #define PACKET_H | 17 | #define PACKET_H |
@@ -71,7 +71,7 @@ void packet_set_interactive(int interactive); | |||
71 | int packet_is_interactive(void); | 71 | int packet_is_interactive(void); |
72 | 72 | ||
73 | /* Starts constructing a packet to send. */ | 73 | /* Starts constructing a packet to send. */ |
74 | void packet_start(int type); | 74 | void packet_start(u_char type); |
75 | 75 | ||
76 | /* Appends a character to the packet data. */ | 76 | /* Appends a character to the packet data. */ |
77 | void packet_put_char(int ch); | 77 | void packet_put_char(int ch); |
@@ -208,9 +208,6 @@ do { \ | |||
208 | int packet_connection_is_on_socket(void); | 208 | int packet_connection_is_on_socket(void); |
209 | int packet_connection_is_ipv4(void); | 209 | int packet_connection_is_ipv4(void); |
210 | 210 | ||
211 | /* enable SSH2 packet format */ | ||
212 | void packet_set_ssh2_format(void); | ||
213 | |||
214 | /* returns remaining payload bytes */ | 211 | /* returns remaining payload bytes */ |
215 | int packet_remaining(void); | 212 | int packet_remaining(void); |
216 | 213 | ||