Add fw3_free_list() helper
[project/firewall3.git] / utils.h
diff --git a/utils.h b/utils.h
index 42dac73..cd478f9 100644 (file)
--- a/utils.h
+++ b/utils.h
@@ -91,13 +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;
-};
+void fw3_free_list(struct list_head *head);
 
 bool fw3_hotplug(bool add, void *zone, void *device);