]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-bus/bus-type.h
sd-bus: use terms from the D-Bus Specification a bit more
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 1 Oct 2014 15:11:59 +0000 (16:11 +0100)
committerTom Gundersen <teg@jklm.no>
Thu, 2 Oct 2014 06:25:21 +0000 (08:25 +0200)
commitd20a3daaa79edfa4c8d84d243f2a98c82dddd5c6
treeaa7304483b8a4a4b812bff609f73eacf8a4018bc
parente1ffdb90d92849a2bb5c27ebc035e7f885ffdafb
sd-bus: use terms from the D-Bus Specification a bit more

D-Bus' type hierarchy as described in the spec is:

\- basic
   \- fixed type (u, i, etc.)
   \- string-like type (s, o, g)
\- container

Someone seems to have referred to basic types as "simple types" at
some point, but that term isn't defined in the D-Bus Specification,
and seems redundant.

So far I haven't renamed functions that use "trivial" in their names
to mean "fixed type", to avoid confusion about whether a struct of
constant length, like (iu), is a fixed type. The answer is that it is
fixed-length, but is not a "fixed type", so I can see that something
like bus_type_is_fixed() might be ambiguous.
src/libsystemd/sd-bus/PORTING-DBUS1
src/libsystemd/sd-bus/bus-type.h