mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
move udev_device_db to libudev
This commit is contained in:
parent
aa8734ffcb
commit
fc233a874b
@ -16,7 +16,6 @@ common_files = \
|
||||
udev.h \
|
||||
udev_rules.h \
|
||||
udev_sysdeps.h \
|
||||
udev_db.c \
|
||||
udev_device_event.c \
|
||||
udev_node.c \
|
||||
udev_rules.c \
|
||||
@ -30,6 +29,7 @@ common_files = \
|
||||
lib/libudev-list.c \
|
||||
lib/libudev-util.c \
|
||||
lib/libudev-device.c \
|
||||
lib/libudev-device-db-write.c \
|
||||
lib/libudev-monitor.c \
|
||||
lib/libudev-enumerate.c \
|
||||
lib/libudev-queue.c \
|
||||
|
@ -84,6 +84,11 @@ extern int udev_device_get_ignore_remove(struct udev_device *udev_device);
|
||||
extern int udev_device_set_ignore_remove(struct udev_device *udev_device, int ignore);
|
||||
extern void udev_device_set_info_loaded(struct udev_device *device);
|
||||
|
||||
/* libudev-device-db-write.c */
|
||||
extern int udev_device_update_db(struct udev_device *udev_device);
|
||||
extern int udev_device_delete_db(struct udev_device *udev_device);
|
||||
extern int udev_device_rename_db(struct udev_device *udev_device, const char *devpath);
|
||||
|
||||
/* libudev-monitor - netlink/unix socket communication */
|
||||
extern int udev_monitor_send_device(struct udev_monitor *udev_monitor, struct udev_device *udev_device);
|
||||
|
||||
|
@ -101,11 +101,6 @@ extern int udev_node_add(struct udev_device *dev, mode_t mode, const char *owner
|
||||
extern int udev_node_remove(struct udev_device *dev, int test);
|
||||
extern void udev_node_update_old_links(struct udev_device *dev, struct udev_device *dev_old, int test);
|
||||
|
||||
/* udev-device-db.c */
|
||||
extern int udev_device_update_db(struct udev_device *udev_device);
|
||||
extern int udev_device_delete_db(struct udev_device *udev_device);
|
||||
extern int udev_device_rename_db(struct udev_device *udev_device, const char *devpath);
|
||||
|
||||
/* udev-util.c */
|
||||
struct name_entry {
|
||||
struct list_head node;
|
||||
|
Loading…
Reference in New Issue
Block a user