diff options
author | 2006-05-29 18:52:56 +0000 | |
---|---|---|
committer | 2006-05-29 18:52:56 +0000 | |
commit | c033daa1192709529b56728463cfade1f2cebbca (patch) | |
tree | f606e666cd12e3908d12f03d798e7456a3625021 | |
parent | Provide functions for copying members of rules. Implement copyrule() (diff) | |
download | wireguard-openbsd-c033daa1192709529b56728463cfade1f2cebbca.tar.xz wireguard-openbsd-c033daa1192709529b56728463cfade1f2cebbca.zip |
Need protoype for ipsecctl_free_rule(). While around clean up
prototype for ipsecctl_add_rule.
-rw-r--r-- | sbin/ipsecctl/ipsecctl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/ipsecctl/ipsecctl.h b/sbin/ipsecctl/ipsecctl.h index d4b646287c6..704019fd029 100644 --- a/sbin/ipsecctl/ipsecctl.h +++ b/sbin/ipsecctl/ipsecctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecctl.h,v 1.35 2006/05/28 21:05:09 hshoexer Exp $ */ +/* $OpenBSD: ipsecctl.h,v 1.36 2006/05/29 18:52:56 hshoexer Exp $ */ /* * Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org> * @@ -173,7 +173,8 @@ struct ipsecctl { int parse_rules(FILE *, struct ipsecctl *); int cmdline_symset(char *); -int ipsecctl_add_rule(struct ipsecctl * ipsec, struct ipsec_rule *); +int ipsecctl_add_rule(struct ipsecctl *, struct ipsec_rule *); +void ipsecctl_free_rule(struct ipsec_rule *); void ipsecctl_get_rules(struct ipsecctl *); int ike_print_config(struct ipsec_rule *, int); int ike_ipsec_establish(int, struct ipsec_rule *); |