summaryrefslogtreecommitdiff
path: root/src/libsystemd/libsystemd.sym
diff options
context:
space:
mode:
authorNick Rosbrook <nick.rosbrook@canonical.com>2022-05-24 13:08:06 -0400
committerNick Rosbrook <nick.rosbrook@canonical.com>2022-05-27 09:40:54 -0400
commit60f0ba75569312825ff14680d05a4b4f95842951 (patch)
treefa8a13019740da0d1f1fd22411c6bbd27460a9e0 /src/libsystemd/libsystemd.sym
parent9745b51c73c78a63003b4cb6e0714829144d297c (diff)
downloadsystemd-60f0ba75569312825ff14680d05a4b4f95842951.tar.gz
sd-hwdb: add sd_hwdb_new_from_path
The existing sd_hwdb_new function always initializes the hwdb from the first successful hwdb.bin it finds from hwdb_bin_paths. This means there is currently no way to initialize a hwdb from an explicit path, which would be useful for systemd-hwdb query. Add sd_hwdb_new_from_path to allow a sd_hwdb to be initialized from a custom path outside of hwdb_bin_paths.
Diffstat (limited to 'src/libsystemd/libsystemd.sym')
-rw-r--r--src/libsystemd/libsystemd.sym5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym
index ccc321ec33..528e86b663 100644
--- a/src/libsystemd/libsystemd.sym
+++ b/src/libsystemd/libsystemd.sym
@@ -778,3 +778,8 @@ global:
sd_device_open;
sd_device_enumerator_add_nomatch_sysname;
} LIBSYSTEMD_250;
+
+LIBSYSTEMD_252 {
+global:
+ sd_hwdb_new_from_path;
+} LIBSYSTEMD_251;