X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=proto.h;h=4ed70a317c967166a193c56265aaeb4617ef7751;hp=8ec5072efccbfcb7d55f3e2a3f026aa926ffb93e;hb=587655b45085fcfc9c575792640c21c6ffb24f42;hpb=05c0ded29cf9dd7716528e61029886550ba1f7ab diff --git a/proto.h b/proto.h index 8ec5072..4ed70a3 100644 --- a/proto.h +++ b/proto.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_PROTO_H #define __NETIFD_PROTO_H @@ -57,7 +70,8 @@ int interface_proto_event(struct interface_proto_state *proto, enum interface_proto_cmd cmd, bool force); unsigned int parse_netmask_string(const char *str, bool v6); +int proto_apply_static_ip_settings(struct interface *iface, struct blob_attr *attr); int proto_apply_ip_settings(struct interface *iface, struct blob_attr *attr, bool ext); - +void proto_dump_handlers(struct blob_buf *b); #endif