]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/sd-id128.xml
sd-id128: add convenience functions to compare multiple sd_id128_t
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Apr 2021 13:36:10 +0000 (15:36 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 21 Apr 2021 15:51:24 +0000 (17:51 +0200)
commit64b21afc727deb5a0702563dcbe4baba9cf5bd14
tree3a51987a9b886cd035360215ef52e07cf8a7117c
parent78aa5b6f59f1787bcd509f8070f82ae72add0fd9
sd-id128: add convenience functions to compare multiple sd_id128_t

Similar to sd_bus_error_has_names() that was added in
2b07ec316a0e25a3e10c270c7f6baee9e0187bf8.

It is made inline in the hope that the compiler will be able to optimize
all the va_args boilerplate away, and do an efficient comparison when
the arguments are all constants.
man/rules/meson.build
man/sd-id128.xml
src/systemd/sd-id128.h
src/test/test-id128.c