diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-05-27 18:02:23 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-05-27 18:02:23 +0000 |
commit | 80d6914d167a731d97aff4e25497f84e96e09fe3 (patch) | |
tree | 7ae80fd6544c752707bae42d3cfa31b7a0a0234c /gdbus/gdbus.h | |
parent | 671e8bc7340909da8b0fe750176423113e9ea8c1 (diff) |
Add helpers for sending async replies
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r-- | gdbus/gdbus.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index dc337954..6f3ddb79 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -179,6 +179,12 @@ DBusMessage *g_dbus_create_reply(DBusMessage *message, int type, ...); DBusMessage *g_dbus_create_reply_valist(DBusMessage *message, int type, va_list args); +gboolean g_dbus_send_message(DBusConnection *connection, DBusMessage *message); +gboolean g_dbus_send_reply(DBusConnection *connection, + DBusMessage *message, int type, ...); +gboolean g_dbus_send_reply_valist(DBusConnection *connection, + DBusMessage *message, int type, va_list args); + typedef void (*name_cb_t)(const char *name, void *user_data); guint name_listener_add(DBusConnection *connection, const char *name, |