dbus/dbus dbus-glib-lowlevel.h,1.4,1.5

Robert McQueen robot101 at freedesktop.org
Tue Nov 15 11:34:35 PST 2005


Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv28988/dbus

Modified Files:
	dbus-glib-lowlevel.h 
Log Message:
2005-11-15  Robert McQueen  <robot101 at debian.org>

	* dbus/dbus-glib-lowlevel.h, glib/dbus-gobject.c: Patch from Rob
	Taylor to add two methods, dbus_g_method_return_get_reply and
	dbus_g_method_return_send_reply, to allow you to get the reply
	message from a DBusGMethodInvocation, append arbitrary stuff to it,
	and send it. The GLib bindings can't marshal a return value of
	something like a(s) if the array is empty - ultimately they should be
	made to heed the signature of the out arguments as the Python bindings
	now can, but this is a workable interim solution which might have
	other applications.

Index: dbus-glib-lowlevel.h
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-glib-lowlevel.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- dbus-glib-lowlevel.h	30 Jan 2005 23:06:32 -0000	1.4
+++ dbus-glib-lowlevel.h	15 Nov 2005 19:34:32 -0000	1.5
@@ -57,6 +57,10 @@
  * g-functions anyhow)
  */
 
+DBusMessage * dbus_g_method_return_get_reply (DBusGMethodInvocation *context);
+
+void dbus_g_method_return_send_reply (DBusGMethodInvocation *context, DBusMessage *reply);
+
 G_END_DECLS
 
 #endif /* DBUS_GLIB_LOWLEVEL_H */



More information about the dbus-commit mailing list