X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=ubus.h;h=263f827a9fd16e9312b2dd9df34fb74d473664a6;hp=0b4c01a1771815953c90242d95ab2dbd68cfda63;hb=HEAD;hpb=8fee8f9c520c58d07772cc6bd8f65d9eb1776a56 diff --git a/ubus.h b/ubus.h index 0b4c01a..263f827 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); +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