summaryrefslogtreecommitdiff
path: root/udev_utils.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-29 11:25:52 +0200
committerGreg KH <gregkh@suse.de>2005-04-26 23:55:00 -0700
commitfb39f0566e248c09772ed15a3218ef2381700b6a (patch)
treea4c9599e64e6e0a635314ac4faf77625752338ef /udev_utils.h
parent7ff56624f84d1616470ab6cbeab17c1367e775d7 (diff)
[PATCH] move execute_program to utils + add action to init_device
Diffstat (limited to 'udev_utils.h')
-rw-r--r--udev_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev_utils.h b/udev_utils.h
index 5ebc9e5bb6..9cdae6db57 100644
--- a/udev_utils.h
+++ b/udev_utils.h
@@ -29,7 +29,7 @@ struct name_entry {
char name[PATH_SIZE];
};
-extern int udev_init_device(struct udevice *udev, const char* devpath, const char *subsystem);
+extern int udev_init_device(struct udevice *udev, const char* devpath, const char *subsystem, const char *action);
extern void udev_cleanup_device(struct udevice *udev);
extern int kernel_release_satisfactory(unsigned int version, unsigned int patchlevel, unsigned int sublevel);
@@ -43,5 +43,6 @@ extern void remove_trailing_char(char *path, char c);
extern void replace_untrusted_chars(char *string);
extern int name_list_add(struct list_head *name_list, const char *name, int sort);
extern int add_matching_files(struct list_head *name_list, const char *dirname, const char *suffix);
+extern int execute_command(const char *command, const char *subsystem);
#endif