X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=utils.h;h=cd478f9d80886855ecf88e3df3319130c50233f0;hb=52d62c3d4654c39b39f4851d2884884e0c104b24;hp=ea6a10598adc3ca02309e0d244c960d61c1bde80;hpb=6b27a6665c288937eb5028063064e3350dcab545;p=project%2Ffirewall3.git diff --git a/utils.h b/utils.h index ea6a105..cd478f9 100644 --- a/utils.h +++ b/utils.h @@ -91,16 +91,7 @@ void fw3_write_statefile(void *state); void fw3_free_object(void *obj, const void *opts); - -struct fw3_rule_spec { - int family; - int table; - int flag; - const char *format; -}; - -bool fw3_pr_rulespec(int table, int family, uint32_t *flags, uint32_t mask, - const struct fw3_rule_spec *r, const char *fmt, ...); +void fw3_free_list(struct list_head *head); bool fw3_hotplug(bool add, void *zone, void *device);