ubus: store rule origin as comment
[project/firewall3.git] / ubus.h
diff --git a/ubus.h b/ubus.h
index 0b4c01a..58e598c 100644 (file)
--- a/ubus.h
+++ b/ubus.h
@@ -30,7 +30,10 @@ void fw3_ubus_disconnect(void);
 
 struct fw3_device * fw3_ubus_device(const char *net);
 
-struct list_head * fw3_ubus_address(const char *net);
-void fw3_ubus_address_free(struct list_head *list);
+void fw3_ubus_address(struct list_head *list, const char *net);
+
+void fw3_ubus_zone_devices(struct fw3_zone *zone);
+
+void fw3_ubus_rules(struct blob_buf *b);
 
 #endif