]> err.no Git - systemd/commitdiff
libudev: export udev_monitor_set_receive_buffer_size()
authorScott James Remnant <scott@ubuntu.com>
Wed, 17 Feb 2010 15:26:00 +0000 (15:26 +0000)
committerScott James Remnant <scott@ubuntu.com>
Wed, 17 Feb 2010 15:26:00 +0000 (15:26 +0000)
This function is useful for anything that's likely to be running
alongside udevd during cold-plugging, and is using libudev to
receive the events.

It makes little sense for it to be private, or to require other
software to relearn how to adjust the buffer size.

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
libudev/exported_symbols
libudev/libudev-private.h
libudev/libudev.h

index 018463dd91db0d7b06ba1d9057c0666fb3a883c9..f48025a42316ad3c0001d956880c40e3a6064204 100644 (file)
@@ -51,6 +51,7 @@ udev_enumerate_scan_subsystems
 udev_enumerate_add_syspath
 udev_monitor_new_from_socket
 udev_monitor_new_from_netlink
+udev_monitor_set_receive_buffer_size
 udev_monitor_enable_receiving
 udev_monitor_ref
 udev_monitor_unref
index c2fff0021115e874c21ba334a82f8c3c336abe06..0d28b80fda3a7e700a7162efabacb764f71abb4b 100644 (file)
@@ -109,7 +109,6 @@ 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);
-int udev_monitor_set_receive_buffer_size(struct udev_monitor *udev_monitor, int size);
 
 /* libudev-ctrl.c - daemon runtime setup */
 struct udev_ctrl;
index ad11059f2c5c744927736a576e5fd9558da9e2b1..9576ad49ca1ef2e392ec88383e45a811d407a245 100644 (file)
@@ -111,6 +111,7 @@ struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, const char
 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);
 int udev_monitor_get_fd(struct udev_monitor *udev_monitor);
 struct udev_device *udev_monitor_receive_device(struct udev_monitor *udev_monitor);
 /* in-kernel socket filters to select messages that get delivered to a listener */