diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-03 23:48:44 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-03 23:48:44 +0200 |
commit | 8a3c06af21bbbe21d2517247ade2f0f9ae6ef432 (patch) | |
tree | 0fe72e16d130f7be032ba0b9f21a02581876e313 /udev/udev.h | |
parent | 32bf83996b1f7d7df83f99e6bf063685146ffe06 (diff) |
udevadm: split out control functions
Diffstat (limited to 'udev/udev.h')
-rw-r--r-- | udev/udev.h | 12 |
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 |