summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-05-19 14:59:37 +1000
committerDamien Miller <djm@mindrot.org>2008-05-19 14:59:37 +1000
commitdb255cad0531047a3e35a95af74ad2e03b054412 (patch)
tree7452c18135999436612dcb4e6e7d9c9f2abfe90f /packet.h
parente9890193032b4bba7afa40d4fc003bbf629afba2 (diff)
- markus@cvs.openbsd.org 2008/05/08 06:59:01
[bufaux.c buffer.h channels.c packet.c packet.h] avoid extra malloc/copy/free when receiving data over the net; ~10% speedup for localhost-scp; ok djm@
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index c1b9b3bd1..927e0831c 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.h,v 1.46 2008/02/22 20:44:02 dtucker Exp $ */ 1/* $OpenBSD: packet.h,v 1.47 2008/05/08 06:59:01 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -58,6 +58,7 @@ void packet_get_bignum(BIGNUM * value);
58void packet_get_bignum2(BIGNUM * value); 58void packet_get_bignum2(BIGNUM * value);
59void *packet_get_raw(u_int *length_ptr); 59void *packet_get_raw(u_int *length_ptr);
60void *packet_get_string(u_int *length_ptr); 60void *packet_get_string(u_int *length_ptr);
61void *packet_get_string_ptr(u_int *length_ptr);
61void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2))); 62void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2)));
62void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2))); 63void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));
63 64