• Anders Carlsson's avatar
    2003-01-21 Anders Carlsson <andersca@codefactory.se> · 4a85d321
    Anders Carlsson authored
    	* dbus/dbus-connection.c: (dbus_connection_send_message):
    	Add a new client_serial parameter.
    	Remove a @todo since we've implemented the blocking function.
    	New function that sends a message and waits for a reply and
    	then returns the reply.
    	* dbus/dbus-connection.h:
    	Add new functions.
    	* dbus/dbus-errors.c: (dbus_result_to_string):
    	* dbus/dbus-errors.h:
    	Add new DBUS_RESULT.
    	* dbus/dbus-message-internal.h:
    	* dbus/dbus-message.c: (_dbus_message_get_reply_serial),
    	(_dbus_message_set_sender), (dbus_message_write_header),
    	(dbus_message_new_reply), (decode_header_data),
    	(_dbus_message_loader_return_buffer), (_dbus_message_test):
    	* dbus/dbus-message.h:
    	Add new functions that set the reply serial and sender.
    	Also marshal and demarshal them correctly and add test.
    	* dbus/dbus-protocol.h:
    	* glib/dbus-glib.h:
    	* glib/dbus-gmain.c: (watch_callback), (free_callback_data),
    	(add_watch), (remove_watch), (add_timeout), (remove_timeout),
    	* glib/test-dbus-glib.c: (main):
    	Rewrite to use GIOChannel and remove the GSource crack.
    	* test/echo-client.c: (main):
    	* test/watch.c: (check_messages):
    	Update for changed APIs
dbus-gmain.c 3.3 KB