summaryrefslogtreecommitdiff
path: root/udev/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-03 23:48:44 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-03 23:48:44 +0200
commit8a3c06af21bbbe21d2517247ade2f0f9ae6ef432 (patch)
tree0fe72e16d130f7be032ba0b9f21a02581876e313 /udev/udev.h
parent32bf83996b1f7d7df83f99e6bf063685146ffe06 (diff)
udevadm: split out control functions
Diffstat (limited to 'udev/udev.h')
-rw-r--r--udev/udev.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/udev/udev.h b/udev/udev.h
index 6005cd2a06..00f2fd8282 100644
--- a/udev/udev.h
+++ b/udev/udev.h
@@ -175,4 +175,16 @@ extern int udevadm_trigger(int argc, char *argv[]);
extern int udevadm_settle(int argc, char *argv[]);
extern int udevadm_test(int argc, char *argv[]);
+/* udev_ctrl - daemon runtime setup */
+struct udev_ctrl;
+extern struct udev_ctrl *udev_ctrl_new_from_socket(const char *socket_path);
+extern void udev_ctrl_unref(struct udev_ctrl *uctrl);
+extern int udev_ctrl_set_log_level(struct udev_ctrl *uctrl, int priority);
+extern int udev_ctrl_stop_exec_queue(struct udev_ctrl *uctrl);
+extern int udev_ctrl_start_exec_queue(struct udev_ctrl *uctrl);
+extern int udev_ctrl_reload_rules(struct udev_ctrl *uctrl);
+extern int udev_ctrl_set_env(struct udev_ctrl *uctrl, const char *key);
+extern int udev_ctrl_set_max_childs(struct udev_ctrl *uctrl, int count);
+extern int udev_ctrl_set_max_childs_running(struct udev_ctrl *uctrl, int count);
+
#endif