]> git.ipfire.org Git - thirdparty/systemd.git/commit
hwdb: store file-name and file-number with properties
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 21 Sep 2016 12:22:49 +0000 (14:22 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 21 Sep 2016 13:18:28 +0000 (15:18 +0200)
commit698c5a176ead078e7c86c541be714ccb464dae95
tree634f6cedd6759a15616917cc4ac8a17a83a5f8ac
parent8bf9763656c9209f74cda460225da5a9939494cc
hwdb: store file-name and file-number with properties

Extend the hwdb to store the source file-name and file-number for each
property. We simply extend the stored value struct with the new
information. It is fully backwards compatible and old readers will
continue to work.

The libudev/sd-hwdb reader is updated in a followup.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/hwdb/hwdb.c
src/libsystemd/sd-hwdb/hwdb-internal.h