shared: move unit-specific code from bus-util.h to bus-unit-util.h
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Apr 2016 15:43:13 +0000 (17:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Apr 2016 14:06:20 +0000 (16:06 +0200)
commit20b1644140c02b436d5efb203f40c9b80a4579a3
treeef3b26d36fa21fff9e14abe6b637c985d92495b4
parent0ff308c8dea9a589ddbc437c097edc3fb26360d7
shared: move unit-specific code from bus-util.h to bus-unit-util.h

Previously we'd have generally useful sd-bus utilities in bust-util.h,
intermixed with code that is specifically for writing clients for PID 1,
wrapping job and unit handling. Let's split the latter out and move it into
bus-unit-util.c, to make the sources a bit short and easier to grok.
src/analyze/analyze.c
src/nspawn/nspawn-register.c
src/run/run.c
src/shared/bus-unit-util.c
src/shared/bus-unit-util.h
src/shared/bus-util.c
src/shared/bus-util.h