X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=ubus.h;h=05bf39110c18fb2dd4e33c5a36e14c7060cb056d;hp=668a34b21c5b5cbec0437a255aaef42175b45871;hb=3bd580e340d2075194cb353da32e10393b006c55;hpb=5d1fff7af6f77c9bf0d46572c7af563cd9fc55b3 diff --git a/ubus.h b/ubus.h index 668a34b..05bf391 100644 --- a/ubus.h +++ b/ubus.h @@ -1,3 +1,16 @@ +/* + * netifd - network interface daemon + * Copyright (C) 2012 Felix Fietkau + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ #ifndef __NETIFD_UBUS_H #define __NETIFD_UBUS_H @@ -5,5 +18,6 @@ int netifd_ubus_init(const char *path); void netifd_ubus_done(void); void netifd_ubus_add_interface(struct interface *iface); void netifd_ubus_remove_interface(struct interface *iface); +void netifd_ubus_interface_event(struct interface *iface, bool up); #endif