X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fodhcpd.h;h=5ae6a390e5ddb1d6dd0c111dd6b4b13583ea4316;hp=531a0ff155767f91348638ba043a038c36e9a43c;hb=b61c3f98223a264de219be37720b3bee5f19cf81;hpb=ab6cef402c4f5982fddf72a8633d2a463e8d9006 diff --git a/src/odhcpd.h b/src/odhcpd.h index 531a0ff..5ae6a39 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -186,7 +186,7 @@ time_t odhcpd_time(void); ssize_t odhcpd_unhexlify(uint8_t *dst, size_t len, const char *src); void odhcpd_hexlify(char *dst, const uint8_t *src, size_t len); -int config_parse_interface(struct blob_attr *b, const char *iname, bool overwrite); +int config_parse_interface(void *data, size_t len, const char *iname, bool overwrite); #ifdef WITH_UBUS int init_ubus(void); @@ -206,3 +206,5 @@ int setup_router_interface(struct interface *iface, bool enable); int setup_dhcpv6_interface(struct interface *iface, bool enable); int setup_ndp_interface(struct interface *iface, bool enable); int setup_dhcpv4_interface(struct interface *iface, bool enable); + +void odhcpd_reload(void);