summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/util.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-11-23 12:56:16 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-11-23 12:56:16 +0000
commit42b2c2b050c7617bac2ebc3684b81226b0aa9d43 (patch)
tree9aa51550393c2847dcf9317a934abb12ccecc631 /sbin/isakmpd/util.h
parent1f760de3683ed43491402f80918e452cff38c9aa (diff)
policy.c: Merge with EOM 1.49
util.h: Merge with EOM 1.10 author: niklas style and removal of unused, unneeded code
Diffstat (limited to 'sbin/isakmpd/util.h')
-rw-r--r--sbin/isakmpd/util.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/isakmpd/util.h b/sbin/isakmpd/util.h
index f91a1ba9fd8..41f4e4307e8 100644
--- a/sbin/isakmpd/util.h
+++ b/sbin/isakmpd/util.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: util.h,v 1.6 2000/10/16 23:28:13 niklas Exp $ */
-/* $EOM: util.h,v 1.9 2000/10/14 23:40:08 angelos Exp $ */
+/* $OpenBSD: util.h,v 1.7 2000/11/23 12:56:15 niklas Exp $ */
+/* $EOM: util.h,v 1.10 2000/10/24 13:33:39 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -48,11 +48,15 @@ struct message;
extern u_int16_t decode_16 (u_int8_t *);
extern u_int32_t decode_32 (u_int8_t *);
extern u_int64_t decode_64 (u_int8_t *);
+#if 0
extern void decode_128 (u_int8_t *, u_int8_t *);
+#endif
extern void encode_16 (u_int8_t *, u_int16_t);
extern void encode_32 (u_int8_t *, u_int32_t);
extern void encode_64 (u_int8_t *, u_int64_t);
+#if 0
extern void encode_128 (u_int8_t *, u_int8_t *);
+#endif
extern u_int8_t *getrandom (u_int8_t *, size_t);
extern int hex2raw (char *, u_int8_t *, size_t);
extern int zero_test (const u_int8_t *, size_t);