summaryrefslogtreecommitdiff
path: root/dbus/dbus-transport.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-02-08 13:04:33 +0400
committerSimon McVittie <smcv@collabora.com>2022-07-15 16:26:18 +0100
commited838d41693dc49ec6ea7875fb07139f3074c788 (patch)
treeee42ef4723eaf294e7a3380b85bc1fe0409a8c03 /dbus/dbus-transport.c
parent655266f32e35c31c190ade3dbb3f93b3e9cafec3 (diff)
downloaddbus-ed838d41693dc49ec6ea7875fb07139f3074c788.tar.gz
dbus: handle unix transport in a new common function
Split out the Unix socket handling from open_platform_specific(), enabling "unix:" connectable addresses on Windows in next patch. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'dbus/dbus-transport.c')
-rw-r--r--dbus/dbus-transport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c
index 592abf9f..9e189f84 100644
--- a/dbus/dbus-transport.c
+++ b/dbus/dbus-transport.c
@@ -348,6 +348,9 @@ static const struct {
DBusError *error);
} open_funcs[] = {
{ _dbus_transport_open_socket },
+#ifndef _WIN32 /* FIXME: removed in next patch */
+ { _dbus_transport_open_unix_socket },
+#endif
{ _dbus_transport_open_platform_specific },
{ _dbus_transport_open_autolaunch }
#ifdef DBUS_ENABLE_EMBEDDED_TESTS