summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-05 21:09:18 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-05 21:09:18 +0000
commit80c6d77085d7869f07850e40f0e96d4e392d0bf4 (patch)
tree4947325dd863fa33c2a3599964edc39a09f770ad /packet.h
parent4c247550aec813ec389415c8d9f41ed1a9c0339a (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.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/packet.h b/packet.h
index 0f5e71049..6430bb0be 100644
--- a/packet.h
+++ b/packet.h
@@ -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);
71int packet_is_interactive(void); 71int packet_is_interactive(void);
72 72
73/* Starts constructing a packet to send. */ 73/* Starts constructing a packet to send. */
74void packet_start(int type); 74void packet_start(u_char type);
75 75
76/* Appends a character to the packet data. */ 76/* Appends a character to the packet data. */
77void packet_put_char(int ch); 77void packet_put_char(int ch);
@@ -208,9 +208,6 @@ do { \
208int packet_connection_is_on_socket(void); 208int packet_connection_is_on_socket(void);
209int packet_connection_is_ipv4(void); 209int packet_connection_is_ipv4(void);
210 210
211/* enable SSH2 packet format */
212void packet_set_ssh2_format(void);
213
214/* returns remaining payload bytes */ 211/* returns remaining payload bytes */
215int packet_remaining(void); 212int packet_remaining(void);
216 213