Add message append functionality

Adds C++ binding to sd_bus_message_append* class functions.  Uses
type deduction to identify all of the parameters passed to the
append function and, at compile-time, creates the appropriate dbus
type string.

Example:
    sdbusplus::message::append(m, "asdf"s);
Is equal to:
    sd_bus_message_append_basic(m, 's', ("asdf"s).c_str());

Rather than use a naive sequence of ..._append_basic calls, the
implementation will attempt to group multiple basic types into a
single sd_bus_message_append call.

Change-Id: I1341a0299573c61588fe225c07174b743cb3a282
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2 files changed
tree: 0b8050e20de56047db2a50685ee2c6d2199bd723
  1. sdbusplus/
  2. test/
  3. LICENSE