Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 introduce ipsec_policy_t to help user programs ...
details: https://anonhg.NetBSD.org/src/rev/678726a20390
branches: trunk
changeset: 583446:678726a20390
user: manu <manu%NetBSD.org@localhost>
date: Sun Aug 07 08:34:32 2005 +0000
description:
introduce ipsec_policy_t to help user programs with the change of
ipsec_set_policy, ipsec_get_policylen and ipsec_dump_policy prototypes
(using void * instead of caddr_t)
diffstat:
sys/netinet6/ipsec.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (23 lines):
diff -r 93433dd8e718 -r 678726a20390 sys/netinet6/ipsec.h
--- a/sys/netinet6/ipsec.h Sun Aug 07 05:18:42 2005 +0000
+++ b/sys/netinet6/ipsec.h Sun Aug 07 08:34:32 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec.h,v 1.43 2005/06/26 21:14:37 christos Exp $ */
+/* $NetBSD: ipsec.h,v 1.44 2005/08/07 08:34:32 manu Exp $ */
/* $KAME: ipsec.h,v 1.51 2001/08/05 04:52:58 itojun Exp $ */
/*
@@ -438,9 +438,10 @@
#endif /* _KERNEL */
#ifndef _KERNEL
-extern void *ipsec_set_policy __P((const char *, int));
-extern int ipsec_get_policylen __P((void *));
-extern char *ipsec_dump_policy __P((void *, const char *));
+typedef void *ipsec_policy_t;
+extern ipsec_policy_t ipsec_set_policy __P((const char *, int));
+extern int ipsec_get_policylen __P((ipsec_policy_t));
+extern char *ipsec_dump_policy __P((ipsec_policy_t, const char *));
extern const char *ipsec_strerror __P((void));
#endif /* !_KERNEL */
Home |
Main Index |
Thread Index |
Old Index