00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef DBUS_PENDING_CALL_INTERNAL_H
00024 #define DBUS_PENDING_CALL_INTERNAL_H
00025
00026
00027 #include <dbus/dbus-internals.h>
00028 #include <dbus/dbus-message.h>
00029 #include <dbus/dbus-connection.h>
00030 #include <dbus/dbus-list.h>
00031
00032 DBUS_BEGIN_DECLS
00033
00034 dbus_bool_t _dbus_pending_call_is_timeout_added_unlocked (DBusPendingCall *pending);
00035 void _dbus_pending_call_set_timeout_added_unlocked (DBusPendingCall *pending,
00036 dbus_bool_t is_added);
00037 DBusTimeout * _dbus_pending_call_get_timeout_unlocked (DBusPendingCall *pending);
00038 dbus_uint32_t _dbus_pending_call_get_reply_serial_unlocked (DBusPendingCall *pending);
00039 void _dbus_pending_call_set_reply_serial_unlocked (DBusPendingCall *pending,
00040 dbus_uint32_t serial);
00041 DBusConnection * _dbus_pending_call_get_connection_and_lock (DBusPendingCall *pending);
00042 DBusConnection * _dbus_pending_call_get_connection_unlocked (DBusPendingCall *pending);
00043 dbus_bool_t _dbus_pending_call_get_completed_unlocked (DBusPendingCall *pending);
00044 void _dbus_pending_call_complete (DBusPendingCall *pending);
00045 void _dbus_pending_call_set_reply_unlocked (DBusPendingCall *pending,
00046 DBusMessage *message);
00047 void _dbus_pending_call_queue_timeout_error_unlocked (DBusPendingCall *pending,
00048 DBusConnection *connection);
00049 void _dbus_pending_call_set_reply_serial_unlocked (DBusPendingCall *pending,
00050 dbus_uint32_t serial);
00051 dbus_bool_t _dbus_pending_call_set_timeout_error_unlocked (DBusPendingCall *pending,
00052 DBusMessage *message,
00053 dbus_uint32_t serial);
00054 DBusPendingCall* _dbus_pending_call_new_unlocked (DBusConnection *connection,
00055 int timeout_milliseconds,
00056 DBusTimeoutHandler timeout_handler);
00057 DBusPendingCall* _dbus_pending_call_ref_unlocked (DBusPendingCall *pending);
00058 void _dbus_pending_call_unref_and_unlock (DBusPendingCall *pending);
00059 dbus_bool_t _dbus_pending_call_set_data_unlocked (DBusPendingCall *pending,
00060 dbus_int32_t slot,
00061 void *data,
00062 DBusFreeFunction free_data_func);
00063
00064
00065 DBUS_END_DECLS
00066
00067 #endif