2006-09-16 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Sat, 16 Sep 2006 15:49:27 +0000 (15:49 +0000)
committerHavoc Pennington <hp@redhat.com>
Sat, 16 Sep 2006 15:49:27 +0000 (15:49 +0000)
commitd0971c53df10195a07bdea2d274c9c42403bb1d0
treef97b76d1d0607eebc142e5b41c1137a4f21ea484
parent08079a5bdedd6ec91cda413983e4bd3b6ee0252d
2006-09-16  Havoc Pennington  <hp@redhat.com>

* dbus/dbus-sysdeps-unix.c (_dbus_open_tcp_socket)
(_dbus_open_unix_socket, _dbus_open_socket): change API for
_dbus_open_socket so the domain/type/protocol from system headers
are not required. This is kind of pointless though unless we move
part of _dbus_connect_tcp_socket into sysdeps.c instead of
sysdeps-unix.c, which would mean adding a wrapper around
bind/listen/etc.
Also, add DBusError to the socket-opening functions so they
don't require use of errno.
ChangeLog
dbus/dbus-sysdeps-unix.c
dbus/dbus-sysdeps.h