X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=utils.h;h=cd478f9d80886855ecf88e3df3319130c50233f0;hp=ea6a10598adc3ca02309e0d244c960d61c1bde80;hb=1f3cd50c62a909da3f3245284de473583440109a;hpb=6b27a6665c288937eb5028063064e3350dcab545 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);