summaryrefslogtreecommitdiff
path: root/libudev/libudev-private.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-14 23:46:44 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-14 23:46:44 +0200
commit7459bcdc8d12fdb217efd4a27a509f9f87ec7b1e (patch)
tree37d4efef248ce73af16975c0c20830b1cae54159 /libudev/libudev-private.h
parent7f2d3a3fc805d6a02a35ac3743139e3ea3a1ce73 (diff)
udevd: get netlink socket from systemd
Diffstat (limited to 'libudev/libudev-private.h')
-rw-r--r--libudev/libudev-private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h
index e82ca1d753..63eb0704d6 100644
--- a/libudev/libudev-private.h
+++ b/libudev/libudev-private.h
@@ -122,11 +122,12 @@ int udev_monitor_disconnect(struct udev_monitor *udev_monitor);
int udev_monitor_allow_unicast_sender(struct udev_monitor *udev_monitor, struct udev_monitor *sender);
int udev_monitor_send_device(struct udev_monitor *udev_monitor,
struct udev_monitor *destination, struct udev_device *udev_device);
+struct udev_monitor *udev_monitor_new_from_netlink_fd(struct udev *udev, const char *name, int fd);
/* libudev-ctrl.c - daemon runtime setup */
struct udev_ctrl;
struct udev_ctrl *udev_ctrl_new_from_socket(struct udev *udev, const char *socket_path);
-struct udev_ctrl *udev_ctrl_new_from_fd(struct udev *udev, int fd);
+struct udev_ctrl *udev_ctrl_new_from_socket_fd(struct udev *udev, const char *socket_path, int fd);
int udev_ctrl_enable_receiving(struct udev_ctrl *uctrl);
struct udev_ctrl *udev_ctrl_ref(struct udev_ctrl *uctrl);
struct udev_ctrl *udev_ctrl_unref(struct udev_ctrl *uctrl);