X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=ubus.h;h=263f827a9fd16e9312b2dd9df34fb74d473664a6;hp=35eac906d130fa40ceb476877e963f36e3160f99;hb=HEAD;hpb=e678dcbf0336c3ca10f9fe2fae8b19347b6c1d4d diff --git a/ubus.h b/ubus.h index 35eac90..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,7 @@ void fw3_ubus_disconnect(void); 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);