From e3dc6e281aae288e995f9d6a2675662ac3d0749f Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Wed, 12 Jul 2006 15:57:01 +0000 Subject: - Make DBusPendingCall an opaque type even to D-Bus internals --- dbus/dbus-connection-internal.h | 33 ++------------------------------- 1 file changed, 2 insertions(+), 31 deletions(-) (limited to 'dbus/dbus-connection-internal.h') diff --git a/dbus/dbus-connection-internal.h b/dbus/dbus-connection-internal.h index 644793a9..adf17862 100644 --- a/dbus/dbus-connection-internal.h +++ b/dbus/dbus-connection-internal.h @@ -91,37 +91,8 @@ dbus_bool_t _dbus_connection_send_and_unlock (DBusConnection DBusMessage *message, dbus_uint32_t *client_serial); -/** - * @addtogroup DBusPendingCallInternals DBusPendingCall implementation details - * @{ - */ -/** - * @brief Internals of DBusPendingCall - * - * Object representing a reply message that we're waiting for. - */ -struct DBusPendingCall -{ - DBusAtomic refcount; /**< reference count */ - - DBusDataSlotList slot_list; /**< Data stored by allocated integer ID */ - - DBusPendingCallNotifyFunction function; /**< Notifier when reply arrives. */ - - DBusConnection *connection; /**< Connections we're associated with */ - DBusMessage *reply; /**< Reply (after we've received it) */ - DBusTimeout *timeout; /**< Timeout */ - - DBusList *timeout_link; /**< Preallocated timeout response */ - - dbus_uint32_t reply_serial; /**< Expected serial of reply */ - - unsigned int completed : 1; /**< TRUE if completed */ - unsigned int timeout_added : 1; /**< Have added the timeout */ -}; - -/** @} End of DBusPendingCallInternals */ - +void _dbus_connection_queue_synthesized_message_link (DBusConnection *connection, + DBusList *link); DBUS_END_DECLS -- cgit