]> git.ipfire.org Git - thirdparty/systemd.git/commit
output-mode: add new helper OUTPUT_MODE_IS_JSON()
authorLennart Poettering <lennart@poettering.net>
Mon, 3 Dec 2018 19:43:07 +0000 (20:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 3 Dec 2018 21:42:38 +0000 (22:42 +0100)
commite4cbdffe282ab9b3bb346a963726484f1ed71b08
tree3c50f92a400ca76288d4ba1b4398975344c6d565
parent9e964bb8e472174fe680a478167ed20a8f2515a4
output-mode: add new helper OUTPUT_MODE_IS_JSON()

Just a pretty way to determine whether the selected output mode is a
JSON output mode.
src/shared/output-mode.h