summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-21 13:23:52 +1100
committerDamien Miller <djm@mindrot.org>1999-11-21 13:23:52 +1100
commit6162d1215bbff30cf0c4c19368dc85ae570d44ca (patch)
treef82956b4429cad04a2296a1ede65e147bafb92f4 /packet.h
parentf58db38f8d396ee5ea42975d9409a644e01cede8 (diff)
- OpenBSD CVS Changes
- [channels.c] make this compile, bad markus - [log.c readconf.c servconf.c ssh.h] bugfix: loglevels are per host in clientconfig, factor out common log-level parsing code. - [servconf.c] remove unused index (-Wall) - [ssh-agent.c] only one 'extern char *__progname' - [sshd.8] document SIGHUP, -Q to synopsis - [sshconnect.c serverloop.c sshd.c packet.c packet.h] [channels.c clientloop.c] SSH_CMSG_MAX_PACKET_SIZE, some clients use this, some need this, niels@ [hope this time my ISP stays alive during commit]
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index 5aa4fd928..250a6b336 100644
--- a/packet.h
+++ b/packet.h
@@ -13,7 +13,7 @@ Interface for the packet protocol functions.
13 13
14*/ 14*/
15 15
16/* RCSID("$Id: packet.h,v 1.4 1999/11/16 02:37:16 damien Exp $"); */ 16/* RCSID("$Id: packet.h,v 1.5 1999/11/21 02:23:53 damien Exp $"); */
17 17
18#ifndef PACKET_H 18#ifndef PACKET_H
19#define PACKET_H 19#define PACKET_H
@@ -154,6 +154,11 @@ int packet_have_data_to_write(void);
154/* Returns true if there is not too much data to write to the connection. */ 154/* Returns true if there is not too much data to write to the connection. */
155int packet_not_very_much_data_to_write(void); 155int packet_not_very_much_data_to_write(void);
156 156
157/* maximum packet size, requested by client with SSH_CMSG_MAX_PACKET_SIZE */
158extern int max_packet_size;
159int packet_set_maxsize(int s);
160#define packet_get_maxsize() max_packet_size
161
157/* Stores tty modes from the fd into current packet. */ 162/* Stores tty modes from the fd into current packet. */
158void tty_make_modes(int fd); 163void tty_make_modes(int fd);
159 164