diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-04 20:19:01 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-04 20:19:01 +0100 |
commit | 1e78dcbe51419124846e1f35e540cb0253362231 (patch) | |
tree | 8569be830565c3093184bcfbfa07605f918846f3 /udev/lib/libudev-private.h | |
parent | a0e17034eecf3933223503377b5e3f4c4eac0e86 (diff) |
fix list handling in enumerate and rules file sorting
Diffstat (limited to 'udev/lib/libudev-private.h')
-rw-r--r-- | udev/lib/libudev-private.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/udev/lib/libudev-private.h b/udev/lib/libudev-private.h index 11e9ad9cb3..2f8b8259b5 100644 --- a/udev/lib/libudev-private.h +++ b/udev/lib/libudev-private.h @@ -139,11 +139,12 @@ extern void udev_list_node_remove(struct udev_list_node *entry); extern struct udev_list_entry *udev_list_entry_add(struct udev *udev, struct udev_list_node *list, const char *name, const char *value, int unique, int sort); +extern void udev_list_entry_delete(struct udev_list_entry *entry); extern void udev_list_entry_remove(struct udev_list_entry *entry); +extern void udev_list_entry_insert_before(struct udev_list_entry *new, struct udev_list_entry *entry); +extern void udev_list_entry_append(struct udev_list_entry *new, struct udev_list_node *list); extern void udev_list_cleanup_entries(struct udev *udev, struct udev_list_node *name_list); extern struct udev_list_entry *udev_list_get_entry(struct udev_list_node *list); -extern void udev_list_entry_move_to_end(struct udev_list_entry *list_entry); -extern void udev_list_entry_move_before(struct udev_list_entry *list_entry, struct udev_list_entry *entry); extern int udev_list_entry_get_flag(struct udev_list_entry *list_entry); extern void udev_list_entry_set_flag(struct udev_list_entry *list_entry, int flag); #define udev_list_entry_foreach_safe(entry, tmp, first) \ |