summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/pf_key_v2.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-04-15 18:39:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-04-15 18:39:31 +0000
commitb1ac98abf9e700f03d5aa5f97c06dab605d6da06 (patch)
treec08a9624b4a539b85c5650bcf09528d13eb2d039 /sbin/isakmpd/pf_key_v2.h
parentaeca45bc7d867b71e9600c7108674fae5db8ff9c (diff)
partial move to KNF. More to come. This has happened because there
are a raft of source code auditors who are willing to help improve this code only if this is done, and hey, isakmpd does need our standard auditing process. ok ho hshoexer
Diffstat (limited to 'sbin/isakmpd/pf_key_v2.h')
-rw-r--r--sbin/isakmpd/pf_key_v2.h33
1 files changed, 18 insertions, 15 deletions
diff --git a/sbin/isakmpd/pf_key_v2.h b/sbin/isakmpd/pf_key_v2.h
index 4236420159f..f3abff45963 100644
--- a/sbin/isakmpd/pf_key_v2.h
+++ b/sbin/isakmpd/pf_key_v2.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: pf_key_v2.h,v 1.8 2003/06/03 14:28:16 ho Exp $ */
-/* $EOM: pf_key_v2.h,v 1.4 2000/12/04 04:46:35 angelos Exp $ */
+/* $OpenBSD: pf_key_v2.h,v 1.9 2004/04/15 18:39:26 deraadt Exp $ */
+/* $EOM: pf_key_v2.h,v 1.4 2000/12/04 04:46:35 angelos Exp $ */
/*
* Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
@@ -39,17 +39,20 @@ struct proto;
struct sa;
struct sockaddr;
-extern void pf_key_v2_connection_check (char *);
-extern int pf_key_v2_delete_spi (struct sa *, struct proto *, int);
-extern int pf_key_v2_enable_sa (struct sa *, struct sa *);
-extern int pf_key_v2_enable_spi (in_addr_t, in_addr_t, in_addr_t, in_addr_t,
- u_int8_t *, u_int8_t, in_addr_t);
-extern u_int8_t *pf_key_v2_get_spi (size_t *, u_int8_t, struct sockaddr *,
- struct sockaddr *, u_int32_t);
-extern int pf_key_v2_group_spis (struct sa *, struct proto *, struct proto *,
- int);
-extern void pf_key_v2_handler (int);
-extern int pf_key_v2_open (void);
-extern int pf_key_v2_set_spi (struct sa *, struct proto *, int, struct sa *);
+extern void pf_key_v2_connection_check(char *);
+extern int pf_key_v2_delete_spi(struct sa *, struct proto *, int);
+extern int pf_key_v2_enable_sa(struct sa *, struct sa *);
+extern int
+pf_key_v2_enable_spi(in_addr_t, in_addr_t, in_addr_t, in_addr_t,
+ u_int8_t *, u_int8_t, in_addr_t);
+extern u_int8_t *
+pf_key_v2_get_spi(size_t *, u_int8_t, struct sockaddr *,
+ struct sockaddr *, u_int32_t);
+extern int
+pf_key_v2_group_spis(struct sa *, struct proto *, struct proto *,
+ int);
+extern void pf_key_v2_handler(int);
+extern int pf_key_v2_open(void);
+extern int pf_key_v2_set_spi(struct sa *, struct proto *, int, struct sa *);
-#endif /* _PF_KEY_V2_H_ */
+#endif /* _PF_KEY_V2_H_ */