diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-07-12 15:57:01 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-07-12 15:57:01 +0000 |
commit | e3dc6e281aae288e995f9d6a2675662ac3d0749f (patch) | |
tree | b7e36821f191ac4ab1238958fd68283aa68f8931 /dbus/dbus-connection-internal.h | |
parent | 7553adeaacd3984c22bb23e0764d5f4ec9a9ae69 (diff) |
- Make DBusPendingCall an opaque type even to D-Bus internals
Diffstat (limited to 'dbus/dbus-connection-internal.h')
-rw-r--r-- | dbus/dbus-connection-internal.h | 33 |
1 files changed, 2 insertions, 31 deletions
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 |