summaryrefslogtreecommitdiffstats
path: root/bufaux.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-04-23 12:42:36 +0200
committerDamien Miller <djm@mindrot.org>2002-04-23 12:42:36 +0200
commit3b23566a5b266f4915697616b5a4e2ecc23b930a (patch)
treef82d424caf4a3a75f485e51c4f242127f86970f2 /bufaux.h
parent - (djm) OpenBSD CVS Sync (diff)
downloadopenssh-3b23566a5b266f4915697616b5a4e2ecc23b930a.tar.xz
openssh-3b23566a5b266f4915697616b5a4e2ecc23b930a.zip
- markus@cvs.openbsd.org 2002/04/20 09:14:58
[bufaux.c bufaux.h] add buffer_{get,put}_short
Diffstat (limited to 'bufaux.h')
-rw-r--r--bufaux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bufaux.h b/bufaux.h
index 650282aca..80f35c1ec 100644
--- a/bufaux.h
+++ b/bufaux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bufaux.h,v 1.17 2002/03/18 17:25:29 provos Exp $ */
+/* $OpenBSD: bufaux.h,v 1.18 2002/04/20 09:14:58 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -23,6 +23,9 @@ void buffer_put_bignum2(Buffer *, BIGNUM *);
void buffer_get_bignum(Buffer *, BIGNUM *);
void buffer_get_bignum2(Buffer *, BIGNUM *);
+u_short buffer_get_short(Buffer *);
+void buffer_put_short(Buffer *, u_short);
+
u_int buffer_get_int(Buffer *);
void buffer_put_int(Buffer *, u_int);