X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=ubus.h;h=1cda487f077b99d0e59b5ecff4fd508de1ba650f;hb=f62595480555f4034841cfbdec5858645528ae7d;hp=0b4c01a1771815953c90242d95ab2dbd68cfda63;hpb=8fee8f9c520c58d07772cc6bd8f65d9eb1776a56;p=project%2Ffirewall3.git diff --git a/ubus.h b/ubus.h index 0b4c01a..1cda487 100644 --- a/ubus.h +++ b/ubus.h @@ -1,7 +1,7 @@ /* * firewall3 - 3rd OpenWrt UCI firewall implementation * - * Copyright (C) 2013 Jo-Philipp Wich + * Copyright (C) 2013 Jo-Philipp Wich * * 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,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