From e99fd7c83e7b54187b551be498a6a0303d382884 Mon Sep 17 00:00:00 2001 From: Hans-Joerg Hoexer Date: Mon, 29 May 2006 18:52:57 +0000 Subject: Need protoype for ipsecctl_free_rule(). While around clean up prototype for ipsecctl_add_rule. --- sbin/ipsecctl/ipsecctl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sbin/ipsecctl') 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 * @@ -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 *); -- cgit v1.2.3