chiark / gitweb /
move udev_device_db to libudev
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 16 Oct 2008 15:30:06 +0000 (17:30 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 16 Oct 2008 15:30:06 +0000 (17:30 +0200)
udev/Makefile.am
udev/lib/libudev-device-db-write.c [moved from udev/udev_db.c with 100% similarity]
udev/lib/libudev-private.h
udev/udev.h

index ff8b275..9c765ff 100644 (file)
@@ -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 \
index 5290bc8..040a48b 100644 (file)
@@ -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);
 
index 896a466..e486df3 100644 (file)
@@ -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;