diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-07-14 20:43:01 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-07-14 20:43:01 +0200 |
commit | 4110664d4f25f203b7d76ee56e5e23220b04eb69 (patch) | |
tree | d8f23e676d323fbd7dfbdde87d622cdff63c0b04 /udev.h | |
parent | 285e2a24f67b1c09d7b4c54587802fc0a9d623eb (diff) |
add option to RUN key to ignore the return value of the program
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -138,10 +138,12 @@ extern int udev_db_get_all_entries(struct list_head *name_list); struct name_entry { struct list_head node; char name[PATH_SIZE]; + unsigned int ignore_error:1; }; + extern int log_priority(const char *priority); -extern char *name_list_add(struct list_head *name_list, const char *name, int sort); -extern char *name_list_key_add(struct list_head *name_list, const char *key, const char *value); +extern struct name_entry *name_list_add(struct list_head *name_list, const char *name, int sort); +extern struct name_entry *name_list_key_add(struct list_head *name_list, const char *key, const char *value); extern int name_list_key_remove(struct list_head *name_list, const char *key); extern void name_list_cleanup(struct list_head *name_list); extern int add_matching_files(struct list_head *name_list, const char *dirname, const char *suffix); |