]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-path/sd-path.c
sd-path: rename the two functions
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 23 Mar 2020 18:50:59 +0000 (19:50 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 27 Mar 2020 19:12:44 +0000 (20:12 +0100)
commit51327bcc7457abb05cc80a5744fc233778a08ff8
tree9484b2a5e460e4887a15509e62b19634dca07666
parentd32014a5bba837a288286e0f06e1927786d06d82
sd-path: rename the two functions

I think the two names were both pretty bad. They did not give a proper hint
what the difference between the two functions is, and sd_path_home sounds like
it is somehow related to /home or home directories or whatever, when in fact
both functions return the same set of paths as either a colon-delimited string
or a strv. "_strv" suffix is used by various functions in sd-bus, so let's
reuse that.

Those functions are not public yet, so let's rename.
src/core/manager.c
src/environment-d-generator/environment-d-generator.c
src/libsystemd/sd-path/sd-path.c
src/path/path.c
src/systemd/sd-path.h
src/test/test-sd-path.c
src/tmpfiles/tmpfiles.c