summaryrefslogtreecommitdiff
path: root/src/libudev/libudev.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-10-27 20:59:01 +0200
committerKay Sievers <kay@vrfy.org>2012-10-27 23:39:41 +0200
commit2001208c2ab631a69896d1f670c26846b70d1fb7 (patch)
treebe11475c8b6784a9b9dd0438a8c11984d2e76825 /src/libudev/libudev.h
parent19e65613563dd9c14cf1ce58aa6e151de8fb90c2 (diff)
libudev: import hwdb and export lookup interface
Diffstat (limited to 'src/libudev/libudev.h')
-rw-r--r--src/libudev/libudev.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libudev/libudev.h b/src/libudev/libudev.h
index 799f47096e..cab2323dea 100644
--- a/src/libudev/libudev.h
+++ b/src/libudev/libudev.h
@@ -171,6 +171,17 @@ int udev_queue_get_seqnum_sequence_is_finished(struct udev_queue *udev_queue,
struct udev_list_entry *udev_queue_get_queued_list_entry(struct udev_queue *udev_queue);
/*
+ * udev_hwdb
+ *
+ * access to the static hardware properties database
+ */
+struct udev_hwdb;
+struct udev_hwdb *udev_hwdb_new(struct udev *udev);
+struct udev_hwdb *udev_hwdb_ref(struct udev_hwdb *hwdb);
+struct udev_hwdb *udev_hwdb_unref(struct udev_hwdb *hwdb);
+struct udev_list_entry *udev_hwdb_get_properties_list_entry(struct udev_hwdb *hwdb, const char *modalias, unsigned int flags);
+
+/*
* udev_util
*
* udev specific utilities