X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=ubus.h;h=553faef99764dd6175da6fb33e268225c37a3fa5;hp=a9166c623f6e18644e5ad330c9fa74ec1e6a6791;hb=81a3b50ef7fad3096a8d164c871521e6e6b55aa1;hpb=23880ff5333c3ca1da1250e8821091f6ae62f566;ds=sidebyside diff --git a/ubus.h b/ubus.h index a9166c6..553faef 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 @@ -6,5 +19,6 @@ 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); +void netifd_ubus_interface_notify(struct interface *iface, bool up); #endif