diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-05 21:09:18 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-05 21:09:18 +0000 |
commit | 80c6d77085d7869f07850e40f0e96d4e392d0bf4 (patch) | |
tree | 4947325dd863fa33c2a3599964edc39a09f770ad /packet.h | |
parent | 4c247550aec813ec389415c8d9f41ed1a9c0339a (diff) |
- markus@cvs.openbsd.org 2001/05/28 23:58:35
[packet.c packet.h sshconnect.c sshd.c]
remove some lines, simplify.
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 | ||