summaryrefslogtreecommitdiff
path: root/udev/udev.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev.h')
-rw-r--r--udev/udev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev/udev.h b/udev/udev.h
index a07c525a89..d5445e84e6 100644
--- a/udev/udev.h
+++ b/udev/udev.h
@@ -81,6 +81,7 @@ int udev_event_spawn(struct udev_event *event,
char *result, size_t ressize);
int udev_event_execute_rules(struct udev_event *event, struct udev_rules *rules, const sigset_t *sigset);
int udev_event_execute_run(struct udev_event *event, const sigset_t *sigset);
+int udev_build_argv(struct udev *udev, char *cmd, int *argc, char *argv[]);
/* udev-watch.c */
int udev_watch_init(struct udev *udev);
@@ -156,7 +157,7 @@ enum udev_builtin_cmd {
};
struct udev_builtin {
const char *name;
- int (*cmd)(struct udev_device *dev, const char *command, bool test);
+ int (*cmd)(struct udev_device *dev, int argc, char *argv[], bool test);
const char *help;
int (*load)(struct udev *udev);
int (*unload)(struct udev *udev);