zones: add interface/subnet bound LOG rules
[project/firewall3.git] / ubus.h
diff --git a/ubus.h b/ubus.h
index e16b873..263f827 100644 (file)
--- a/ubus.h
+++ b/ubus.h
@@ -1,7 +1,7 @@
 /*
  * firewall3 - 3rd OpenWrt UCI firewall implementation
  *
 /*
  * firewall3 - 3rd OpenWrt UCI firewall implementation
  *
- *   Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
+ *   Copyright (C) 2013 Jo-Philipp Wich <jo@mein.io>
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -30,6 +30,10 @@ void fw3_ubus_disconnect(void);
 
 struct fw3_device * fw3_ubus_device(const char *net);
 
 
 struct fw3_device * fw3_ubus_device(const char *net);
 
-struct list_head * fw3_ubus_address(const char *net);
+int 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
 
 #endif