summaryrefslogtreecommitdiff
path: root/bufaux.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-01-11 06:20:23 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-01-11 06:20:23 +0000
commit2f959b4cd1d1afcd241d7ffa06a34646c0c89969 (patch)
treea83ffc7dd3f484af4debdad46c5de25e985bf4ad /bufaux.h
parentfd9885e3264ea16c75b61812d17ed64ca8dfd308 (diff)
20010112
- (bal) OpenBSD Sync - markus@cvs.openbsd.org 2001/01/10 22:56:22 [bufaux.h bufaux.c sftp-server.c sftp.h getput.h] cleanup sftp-server implementation: add buffer_get_int64, buffer_put_int64, GET_64BIT, PUT_64BIT parse SSH2_FILEXFER_ATTR_EXTENDED send SSH2_FX_EOF if readdir returns no more entries reply to SSH2_FXP_EXTENDED message use #defines from the draft move #definations to sftp.h more info: http://www.ietf.org/internet-drafts/draft-ietf-secsh-filexfer-00.txt - markus@cvs.openbsd.org 2001/01/10 19:43:20 [sshd.c] XXX - generate_empheral_server_key() is not safe against races, because it calls log() - markus@cvs.openbsd.org 2001/01/09 21:19:50 [packet.c] allow TCP_NDELAY for ipv6; from netbsd via itojun@
Diffstat (limited to 'bufaux.h')
-rw-r--r--bufaux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bufaux.h b/bufaux.h
index 6c73d4fb..ec430022 100644
--- a/bufaux.h
+++ b/bufaux.h
@@ -10,7 +10,7 @@
* called by a name other than "ssh" or "Secure Shell".
*/
-/* RCSID("$OpenBSD: bufaux.h,v 1.9 2000/12/19 23:17:55 markus Exp $"); */
+/* RCSID("$OpenBSD: bufaux.h,v 1.10 2001/01/10 22:56:22 markus Exp $"); */
#ifndef BUFAUX_H
#define BUFAUX_H
@@ -30,9 +30,11 @@ int buffer_get_bignum2(Buffer *buffer, BIGNUM * value);
/* Returns an integer from the buffer (4 bytes, msb first). */
u_int buffer_get_int(Buffer * buffer);
+u_int64_t buffer_get_int64(Buffer *buffer);
/* Stores an integer in the buffer in 4 bytes, msb first. */
void buffer_put_int(Buffer * buffer, u_int value);
+void buffer_put_int64(Buffer *buffer, u_int64_t value);
/* Returns a character from the buffer (0 - 255). */
int buffer_get_char(Buffer * buffer);