summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-connection.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-08-15 04:17:58 +0000
committerHavoc Pennington <hp@redhat.com>2003-08-15 04:17:58 +0000
commitef614207fc4f03e5cc02faeb109f739eb1ccdf31 (patch)
tree8e32a70a0094c6605c29f2f2ed99075b6fc0d483 /dbus/dbus-connection.h
parenta6c8a71b1bcba04b63812a61f668e87af0922e5e (diff)
2003-08-15 Havoc Pennington <hp@pobox.com>
* dbus/dbus-connection.c, dbus/dbus-pending-call.c: Finish the pending call stuff
Diffstat (limited to 'dbus/dbus-connection.h')
-rw-r--r--dbus/dbus-connection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dbus/dbus-connection.h b/dbus/dbus-connection.h
index 7bf1221a..ef106524 100644
--- a/dbus/dbus-connection.h
+++ b/dbus/dbus-connection.h
@@ -37,6 +37,7 @@ typedef struct DBusWatch DBusWatch;
typedef struct DBusTimeout DBusTimeout;
typedef struct DBusMessageHandler DBusMessageHandler;
typedef struct DBusPreallocatedSend DBusPreallocatedSend;
+typedef struct DBusPendingCall DBusPendingCall;
typedef enum
{
@@ -76,6 +77,9 @@ typedef dbus_bool_t (* DBusAllowUnixUserFunction) (DBusConnection *connection,
unsigned long uid,
void *data);
+typedef void (* DBusPendingCallNotifyFunction) (DBusPendingCall *pending,
+ void *user_data);
+
DBusConnection* dbus_connection_open (const char *address,
DBusError *error);
void dbus_connection_ref (DBusConnection *connection);
@@ -97,7 +101,7 @@ dbus_bool_t dbus_connection_send (DBusConnection
dbus_uint32_t *client_serial);
dbus_bool_t dbus_connection_send_with_reply (DBusConnection *connection,
DBusMessage *message,
- DBusMessageHandler *reply_handler,
+ DBusPendingCall **pending_return,
int timeout_milliseconds);
DBusMessage * dbus_connection_send_with_reply_and_block (DBusConnection *connection,
DBusMessage *message,