diff options
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/dbus-sysdeps-unix.c | 9 | ||||
-rw-r--r-- | dbus/dbus-sysdeps.h | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index ebb269c1..23296712 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -169,6 +169,15 @@ _dbus_write_socket (int fd, return _dbus_write (fd, buffer, start, len); } +int +_dbus_write_pipe (DBusPipe pipe, + const DBusString *buffer, + int start, + int len) +{ + return _dbus_write (pipe, buffer, start, len); +} + /** * Like _dbus_write_two() but only works on sockets and is thus * available on Windows. diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h index 9bc91186..8ca1cad9 100644 --- a/dbus/dbus-sysdeps.h +++ b/dbus/dbus-sysdeps.h @@ -302,6 +302,12 @@ dbus_bool_t _dbus_path_is_absolute (const DBusString *filename); dbus_bool_t _dbus_get_standard_session_servicedirs (DBusList **dirs); +typedef int DBusPipe; +int _dbus_write_pipe (DBusPipe pipe, + const DBusString *buffer, + int start, + int len); + /** Opaque type for reading a directory listing */ typedef struct DBusDirIter DBusDirIter; |