summaryrefslogtreecommitdiff
path: root/bus/connection.h
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2018-01-15 16:31:53 +0000
committerSimon McVittie <smcv@collabora.com>2018-02-16 15:27:05 +0000
commitc6b91129facf88d7b30540b0073973bbf7ca5bb4 (patch)
tree7a52c8b73d73b3b8d3b1250cd3e2690576fe58ce /bus/connection.h
parent02170d6fa6454521fc7590fe9d84a47504f7c797 (diff)
downloaddbus-c6b91129facf88d7b30540b0073973bbf7ca5bb4.tar.gz
bus_transaction_send: Take sender and destination connections
We'll need this if we want to stamp optional header fields on the message according to the preferences of the recipient(s). Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101899
Diffstat (limited to 'bus/connection.h')
-rw-r--r--bus/connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bus/connection.h b/bus/connection.h
index 9e253ae5..141fb0c0 100644
--- a/bus/connection.h
+++ b/bus/connection.h
@@ -132,7 +132,8 @@ typedef void (* BusTransactionCancelFunction) (void *data);
BusTransaction* bus_transaction_new (BusContext *context);
BusContext* bus_transaction_get_context (BusTransaction *transaction);
dbus_bool_t bus_transaction_send (BusTransaction *transaction,
- DBusConnection *connection,
+ DBusConnection *sender,
+ DBusConnection *destination,
DBusMessage *message);
dbus_bool_t bus_transaction_capture (BusTransaction *transaction,
DBusConnection *connection,