]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-json: introduce JSON_BUILD_PAIR_STRV_ENV_PAIR_NON_EMPTY() macro
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 Oct 2024 17:09:01 +0000 (02:09 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 31 Oct 2024 02:02:35 +0000 (11:02 +0900)
commitdbceb0507ffa4745d9d73db2316473055fc98834
tree079d7eceacfa74bdf9b72b669f7f23a755ad328a
parent32d77f5df8b942805d6084b695be0f72bf1e487d
sd-json: introduce JSON_BUILD_PAIR_STRV_ENV_PAIR_NON_EMPTY() macro

It is similar to JSON_BUILD_PAIR_STRV_NON_EMPTY, but takes the
list of environment variables.
src/libsystemd/sd-json/json-util.h
src/libsystemd/sd-json/sd-json.c