diff options
Diffstat (limited to 'udev/lib/libudev.h')
-rw-r--r-- | udev/lib/libudev.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h index be09ddb75a..e0aa571e26 100644 --- a/udev/lib/libudev.h +++ b/udev/lib/libudev.h @@ -76,12 +76,8 @@ extern const char *udev_device_get_sysattr_value(struct udev_device *udev_device /* udev and kernel device events */ struct udev_monitor; -enum udev_monitor_netlink_group { - UDEV_MONITOR_KERNEL = 1, - UDEV_MONITOR_UDEV = 2, -}; extern struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path); -extern struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, enum udev_monitor_netlink_group group); +extern struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, const char *name); extern int udev_monitor_enable_receiving(struct udev_monitor *udev_monitor); extern struct udev_monitor *udev_monitor_ref(struct udev_monitor *udev_monitor); extern void udev_monitor_unref(struct udev_monitor *udev_monitor); |