diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2006-05-29 18:52:57 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2006-05-29 18:52:57 +0000 |
commit | e99fd7c83e7b54187b551be498a6a0303d382884 (patch) | |
tree | 4c910c5cc8c5c5626f531176a33b673f616e54b3 /sbin/ipsecctl | |
parent | b6cde176291e3d978a4144f2a8b19fbadd6019e6 (diff) |
Need protoype for ipsecctl_free_rule(). While around clean up
prototype for ipsecctl_add_rule.
Diffstat (limited to 'sbin/ipsecctl')
-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 *); |