X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=device.h;h=bd5a58122d0a0d97e91265882309e2b30d34a9a9;hp=0f8d3827794e2cf416d3a7eef38bd6e5cadea036;hb=50eb00f20aaf86c84a24b8d2aaad13ffff52d3f1;hpb=273550337f70b8b2175875e0c4f0bbd483cfe326 diff --git a/device.h b/device.h index 0f8d382..bd5a581 100644 --- a/device.h +++ b/device.h @@ -125,6 +125,10 @@ free_device(struct device *dev) dev->type->free(dev); } +extern const struct config_param_list device_attr_list; + +struct device *device_create(struct blob_attr *attr, struct uci_section *s); + void init_virtual_device(struct device *dev, const struct device_type *type, const char *name); int init_device(struct device *iface, const struct device_type *type, const char *ifname); void cleanup_device(struct device *iface);