summaryrefslogtreecommitdiff
path: root/bufaux.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-04-23 20:42:36 +1000
committerDamien Miller <djm@mindrot.org>2002-04-23 20:42:36 +1000
commit3b23566a5b266f4915697616b5a4e2ecc23b930a (patch)
treef82d424caf4a3a75f485e51c4f242127f86970f2 /bufaux.h
parente4ccf100e05d24c3cfb20a18685d1c507670c7c3 (diff)
- 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 650282ac..80f35c1e 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);