Bug 19567 - Make marshaling code usable without DBusConnection
authorWilliam Lachance <wrlach@gmail.com>
Tue, 21 Apr 2009 17:51:46 +0000 (13:51 -0400)
committerColin Walters <walters@verbum.org>
Tue, 21 Apr 2009 17:51:46 +0000 (13:51 -0400)
commit16a947eedb7f7f2951fff4ebbf301af7776aa8df
treeb3095a345c3547e36ae5015660d2b8a7655569f0
parentce09b82ec2dd3cb1d239605f8f458e09afd70694
Bug 19567 - Make marshaling code usable without DBusConnection

Some projects want to reuse the DBus message format, without
actually going through a DBusConnection.  This set of changes
makes a few functions from DBusMessage public, and adds a new
function to determine the number of bytes needed to demarshal
a message.

Signed-off-by: Colin Walters <walters@verbum.org>
dbus/dbus-connection.c
dbus/dbus-message-factory.c
dbus/dbus-message-internal.h
dbus/dbus-message-util.c
dbus/dbus-message.c
dbus/dbus-message.h
dbus/dbus-transport-socket.c