Roy Marples
36d293b12a
Allow dev to recieve errors from managers handle_device.
2013-09-14 08:50:41 +00:00
Roy Marples
b4a7edc395
Dev module start now returns an fd to monitor so the eloop additions
...
can go into dev.c
Create a new struct to pass dhcpcd handle_interface to dev plugins
This allows us to build the dhcpcd binary normally and save a few k
disk space.
2013-09-12 21:13:41 +00:00
Roy Marples
52dc01927b
Fix building with a dev manager
2013-09-12 17:08:34 +00:00
Roy Marples
a68c246036
Support older udev versions where we need to rely on udev-settle.
2013-09-12 16:46:41 +00:00
Roy Marples
413652c1b3
Instead of linking directly to libudev, create a plugin system for /dev
...
management. This allows dhcpcd to work even if udev removed and adds the
ability to change from udev to something else in the future.
2013-09-12 15:43:20 +00:00