firewall3: Improve ipset support
[project/firewall3.git] / ipsets.h
index 2ba862dbba0c8d0c70f53bdcd3f771d8caab431d..fec79f8754ad88eb43089d28752a9ac733589b34 100644 (file)
--- a/ipsets.h
+++ b/ipsets.h
 extern const struct fw3_option fw3_ipset_opts[];
 
 void fw3_load_ipsets(struct fw3_state *state, struct uci_package *p, struct blob_attr *a);
-void fw3_create_ipsets(struct fw3_state *state);
-void fw3_destroy_ipsets(struct fw3_state *state);
+void fw3_create_ipsets(struct fw3_state *state, enum fw3_family family,
+                      bool reload_set);
+void fw3_destroy_ipsets(struct fw3_state *state, enum fw3_family family,
+                       bool reload_set);
 
 struct fw3_ipset * fw3_lookup_ipset(struct fw3_state *state, const char *name);