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>
Wed, 6 May 2009 16:51:18 +0000 (12:51 -0400)
commit0cf4583b5a4772b9c2a381ce78f6e3a3afcf705d
tree7e83c8ff8e463ba79bcd6ed862668a59d0bda725
parent86df8ad59229bc511689e0e1d431a5cf246685db
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