summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-07-14 20:43:01 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-07-14 20:43:01 +0200
commit4110664d4f25f203b7d76ee56e5e23220b04eb69 (patch)
treed8f23e676d323fbd7dfbdde87d622cdff63c0b04 /udev.h
parent285e2a24f67b1c09d7b4c54587802fc0a9d623eb (diff)
add option to RUN key to ignore the return value of the program
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/udev.h b/udev.h
index 64510ed35f..baf58a8163 100644
--- a/udev.h
+++ b/udev.h
@@ -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);