split alias support into a separate source file for better readability
[project/netifd.git] / device.h
index 108d383..88a421f 100644 (file)
--- a/device.h
+++ b/device.h
@@ -181,6 +181,7 @@ void device_free_unused(struct device *dev);
 
 struct device *get_vlan_device_chain(const char *ifname, bool create);
 void alias_notify_device(const char *name, struct device *dev);
+struct device *device_alias_get(const char *name);
 
 static inline void
 device_set_deferred(struct device *dev, bool value)