[systemd-devel] [PATCH 1/2] libsystemd: add sd-hwdb library

Greg KH gregkh at linuxfoundation.org
Wed Dec 3 13:19:08 PST 2014

On Wed, Dec 03, 2014 at 10:11:40PM +0100, Tom Gundersen wrote:
> This is libudev-hwdb, but decoupled from libudev and in the libsystemd style.
> The core code is unchanged, apart from the following minor changes:
>  - hwdb.bin located in /**/systemd/hwdb/ take preference over the ones located
>    in /**/udev/
>  - properties are stored internally in an OrderedHashmap, rather than a
>    linked list.
>  - a new API call allows individual properties to be queried directly, rather
>    than iterating over them all
>  - the iteration over properties have been moved inside the library, rather than
>    exposing a list directly
>  - the unused 'flags' parameter was dropped

Why pull this apart?  Are other applications wanting to use this?


greg k-h

More information about the systemd-devel mailing list