diff options
author | Nick Rosbrook <nick.rosbrook@canonical.com> | 2022-05-24 13:08:06 -0400 |
---|---|---|
committer | Nick Rosbrook <nick.rosbrook@canonical.com> | 2022-05-27 09:40:54 -0400 |
commit | 60f0ba75569312825ff14680d05a4b4f95842951 (patch) | |
tree | fa8a13019740da0d1f1fd22411c6bbd27460a9e0 /src/libsystemd/libsystemd.sym | |
parent | 9745b51c73c78a63003b4cb6e0714829144d297c (diff) | |
download | systemd-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.sym | 5 |
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; |