Main Page | Modules | Data Structures | Directories | File List | Data Fields | Related Pages

DBusPendingCall implementation details
[D-BUS internal implementation details]

DBusPendingCall private implementation details. More...

Data Structures

struct  DBusPendingCall
 Internals of DBusPendingCall. More...

Functions

DBusPendingCall_dbus_pending_call_new (DBusConnection *connection, int timeout_milliseconds, DBusTimeoutHandler timeout_handler)
 Creates a new pending reply object.
void _dbus_pending_call_notify (DBusPendingCall *pending)
 Calls notifier function for the pending call and sets the call to completed.

Detailed Description

DBusPendingCall private implementation details.

The guts of DBusPendingCall and its methods.


Function Documentation

DBusPendingCall* _dbus_pending_call_new DBusConnection connection,
int  timeout_milliseconds,
DBusTimeoutHandler  timeout_handler
 

Creates a new pending reply object.

Parameters:
connection connection where reply will arrive
timeout_milliseconds length of timeout, -1 for default
timeout_handler timeout handler, takes pending call as data
Returns:
a new DBusPendingCall or NULL if no memory.

Definition at line 52 of file dbus-pending-call.c.

References _dbus_assert, _dbus_data_slot_list_init(), _dbus_timeout_new(), DBusPendingCall::connection, dbus_free(), dbus_new0, dbus_pending_call_allocate_data_slot(), dbus_pending_call_free_data_slot(), NULL, DBusPendingCall::refcount, DBusPendingCall::slot_list, DBusPendingCall::timeout, and DBusAtomic::value.

Referenced by dbus_connection_send_with_reply().

void _dbus_pending_call_notify DBusPendingCall pending  ) 
 

Calls notifier function for the pending call and sets the call to completed.

Parameters:
pending the pending call

Definition at line 111 of file dbus-pending-call.c.

References _dbus_assert, DBusPendingCall::completed, dbus_pending_call_get_data(), DBusPendingCall::function, and TRUE.

Referenced by _dbus_pending_call_complete_and_unlock().


Generated on Tue Dec 20 14:16:45 2005 for D-BUS by  doxygen 1.4.2