summaryrefslogtreecommitdiff
path: root/dbus/dbus-server-protected.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-02-08 17:55:49 +0400
committerSimon McVittie <smcv@collabora.com>2022-07-15 16:26:18 +0100
commitee7c08afafe4574c54e9555fe5ca6669f174bf5d (patch)
tree13484bf2dc9d18296d16c7b1e40f9524885b07a5 /dbus/dbus-server-protected.h
parenta508ab583de138c22934e4622e6884057e824c22 (diff)
dbus: handle unix server in a new function
Split _dbus_server_listen_platform_specific() to handle unix listenable address independently, allowing Windows support in following commit. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'dbus/dbus-server-protected.h')
-rw-r--r--dbus/dbus-server-protected.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-server-protected.h b/dbus/dbus-server-protected.h
index 650963f1..d9254f47 100644
--- a/dbus/dbus-server-protected.h
+++ b/dbus/dbus-server-protected.h
@@ -126,6 +126,10 @@ typedef enum
DBUS_SERVER_LISTEN_ADDRESS_ALREADY_USED /**< address is already used */
} DBusServerListenResult;
+DBusServerListenResult _dbus_server_listen_unix_socket (DBusAddressEntry *entry,
+ DBusServer **server_p,
+ DBusError *error);
+
DBusServerListenResult _dbus_server_listen_platform_specific (DBusAddressEntry *entry,
DBusServer **server_p,
DBusError *error);