summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-05-29 18:52:57 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-05-29 18:52:57 +0000
commite99fd7c83e7b54187b551be498a6a0303d382884 (patch)
tree4c910c5cc8c5c5626f531176a33b673f616e54b3 /sbin/ipsecctl
parentb6cde176291e3d978a4144f2a8b19fbadd6019e6 (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.h5
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 *);