mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-08 07:00:17 +01:00
dbus: move unix socket declarations to common sysdeps.h
The function declaration can be moved to system-agnostic header and be implemented on Windows in following commits. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
f8343fa397
commit
519dd8726e
2 changed files with 12 additions and 11 deletions
|
|
@ -66,17 +66,6 @@ _dbus_write_two (int fd,
|
|||
int start2,
|
||||
int len2);
|
||||
|
||||
DBusSocket _dbus_connect_unix_socket (const char *path,
|
||||
dbus_bool_t abstract,
|
||||
DBusError *error);
|
||||
DBusSocket _dbus_listen_unix_socket (const char *path,
|
||||
dbus_bool_t abstract,
|
||||
DBusError *error);
|
||||
|
||||
DBusSocket _dbus_connect_exec (const char *path,
|
||||
char *const argv[],
|
||||
DBusError *error);
|
||||
|
||||
int _dbus_listen_systemd_sockets (DBusSocket **fd,
|
||||
DBusError *error);
|
||||
|
||||
|
|
|
|||
|
|
@ -561,6 +561,18 @@ typedef struct
|
|||
dbus_bool_t _dbus_stat (const DBusString *filename,
|
||||
DBusStat *statbuf,
|
||||
DBusError *error);
|
||||
|
||||
DBusSocket _dbus_connect_unix_socket (const char *path,
|
||||
dbus_bool_t abstract,
|
||||
DBusError *error);
|
||||
DBusSocket _dbus_listen_unix_socket (const char *path,
|
||||
dbus_bool_t abstract,
|
||||
DBusError *error);
|
||||
|
||||
DBusSocket _dbus_connect_exec (const char *path,
|
||||
char *const argv[],
|
||||
DBusError *error);
|
||||
|
||||
DBUS_PRIVATE_EXPORT
|
||||
dbus_bool_t _dbus_socketpair (DBusSocket *fd1,
|
||||
DBusSocket *fd2,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue