Systemd/src/libsystemd
Lennart Poettering ccdf03b9c7 sd-path: drop "-dir" and "-path" suffixes from path enums
Clean up the naming of the sd-path enums. Previously, the more recently
added fields where named in the form SD_PATH_xyz_DIR and
SD_PATH_xyz_PATH, while the older fields where called just SD_PATH_xyz
and SD_PATH_SEARCH_xyz. Let's clean this up, to come to a more unified
way how we name this stuff.

I opted to stick to the old naming, i.e. dropthe suffixes. It's a bit of
a bike-shedding question of course, but I think there's a good reason to
avoid the additional DIR and PATH suffixes: the enum prefix contains
"PATH" anyway (i.e. "SD_PATH_"), so including PATH twice in each name is
redundant. Moreover, the key difference between the enums with the "dir"
and the "path" in the name is that the latter are *seach* paths, and I
think this is better emphasized by sticking to the "SEARCH" in the name.

Moreover dropping the suffixes makes the identifiers a lot shorter, in
particular in the "systemd-path" list output. And that's always good.

This means the naming pkgconfig file and in sd-path slightly deviate
(though the mapping is very simple), but I think that's OK, given that
this is developer facing and not user facing.
2020-05-28 23:54:35 +02:00
..
sd-bus sd-bus: internalize setting of bus is_system/is_user 2020-05-25 11:09:21 +02:00
sd-daemon Introduce sd_notify_barrier 2020-05-01 03:22:47 +05:30
sd-device Merge pull request #15623 from poettering/cmsg-cleanup 2020-05-08 11:05:06 +02:00
sd-event sd-event: use _cleanup_ in one more place 2020-01-08 17:15:54 +01:00
sd-hwdb hwdb: optimize isatty()-per-line away 2020-04-13 11:27:35 +02:00
sd-id128 id128: move make_v4_uuid into id128-util.h to make it generally useful 2020-01-20 17:42:03 +01:00
sd-login sd-login: get rid of seat_can_multi_session() 2020-04-17 16:15:30 +02:00
sd-netlink sd-netlink: remove unused RTNL_WQUEUE_MAX define 2020-05-14 22:27:03 +02:00
sd-network sd-network: Add support to retrive LPR servers 2020-04-22 14:49:52 +02:00
sd-path sd-path: drop "-dir" and "-path" suffixes from path enums 2020-05-28 23:54:35 +02:00
sd-resolve tree-wide: drop socket.h when socket-util.h is included 2019-11-04 00:30:32 +09:00
sd-utf8 tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
disable-mempool.c mempool: only enable mempool use when linked to libsystemd-shared.so 2018-10-11 11:10:37 +02:00
libsystemd.pc.in meson: define PROJECT_VERSION as the "bare" project version 2018-12-20 21:35:29 +01:00
libsystemd.sym sd-bus: make name validation functions public 2020-05-25 11:09:21 +02:00
meson.build sd-netlink: save dynamic general netlink message type 2019-10-15 01:57:19 +09:00