diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-09 20:45:45 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-09 21:18:30 +0200 |
commit | 2d13da8821b8197e62f819b5b996750800e910ab (patch) | |
tree | 836f04b564ea309eedae6c479cfe55da103fd9d5 /src/udev/libudev.h | |
parent | 83cd6b754b270091840456a2c8a66dae19f5a7dc (diff) |
udev: remove RUN+="socket:.." and udev_monitor_new_from_netlink()
Diffstat (limited to 'src/udev/libudev.h')
-rw-r--r-- | src/udev/libudev.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/libudev.h b/src/udev/libudev.h index 10e098d4f7..3bcddb2eb3 100644 --- a/src/udev/libudev.h +++ b/src/udev/libudev.h @@ -114,8 +114,6 @@ void udev_monitor_unref(struct udev_monitor *udev_monitor); struct udev *udev_monitor_get_udev(struct udev_monitor *udev_monitor); /* kernel and udev generated events over netlink */ struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, const char *name); -/* custom socket (use netlink and filters instead) */ -struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path); /* bind socket */ int udev_monitor_enable_receiving(struct udev_monitor *udev_monitor); int udev_monitor_set_receive_buffer_size(struct udev_monitor *udev_monitor, int size); @@ -127,6 +125,7 @@ int udev_monitor_filter_add_match_subsystem_devtype(struct udev_monitor *udev_mo int udev_monitor_filter_add_match_tag(struct udev_monitor *udev_monitor, const char *tag); int udev_monitor_filter_update(struct udev_monitor *udev_monitor); int udev_monitor_filter_remove(struct udev_monitor *udev_monitor); +__attribute__((deprecated)) struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path); /* * udev_enumerate |