X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=ipsets.h;h=cbab741d4dadc1b0c87b66e7da3b5cbee80453c4;hp=debe0e88962f6748ffc617b96808f1646d61b709;hb=a1cf3074e2eae780226c79477e895479ba6e29f2;hpb=5df8137ebc5db2bc9c6e71b2d154a5f77679d9d8 diff --git a/ipsets.h b/ipsets.h index debe0e8..cbab741 100644 --- a/ipsets.h +++ b/ipsets.h @@ -27,10 +27,9 @@ extern const struct fw3_option fw3_ipset_opts[]; struct fw3_ipset * fw3_alloc_ipset(void); void fw3_load_ipsets(struct fw3_state *state, struct uci_package *p); void fw3_create_ipsets(struct fw3_state *state); -void fw3_destroy_ipsets(struct fw3_state *state); +void fw3_destroy_ipsets(struct fw3_state *state, enum fw3_family family); -struct fw3_ipset * fw3_lookup_ipset(struct fw3_state *state, const char *name, - bool running); +struct fw3_ipset * fw3_lookup_ipset(struct fw3_state *state, const char *name); #define fw3_free_ipset(ipset) \ fw3_free_object(ipset, fw3_ipset_opts)