]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/analyze/analyze.c
shared: Extract common LogControl CLI code to verb-log-control.h
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 Sep 2021 12:35:49 +0000 (13:35 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 9 Sep 2021 23:48:57 +0000 (08:48 +0900)
commita87b151ac048f5a7c77e83e748f544675c2df0cc
tree58ecfb5b585c2ccf7427ea6fc535d1d4734d519e
parent627191c28580456db6dbd5c5d7237d48bf052eea
shared: Extract common LogControl CLI code to verb-log-control.h

Let's reduce duplication by sharing common logic between all
log-target/log-level verbs.
src/analyze/analyze.c
src/resolve/resolvectl.c
src/shared/meson.build
src/shared/verb-log-control.c [new file with mode: 0644]
src/shared/verb-log-control.h [new file with mode: 0644]
src/systemctl/systemctl-log-setting.c