diff options
author | Mikael Hallendal <micke@codefactory.se> | 2003-02-19 08:13:31 +0000 |
---|---|---|
committer | Mikael Hallendal <micke@codefactory.se> | 2003-02-19 08:13:31 +0000 |
commit | 6180d6954c41a2412c166e5a9e8a2851cf39c6d1 (patch) | |
tree | 0309901a7c3eede8a578332b9a7b419dc977cfd3 /dbus/dbus-sysdeps.h | |
parent | c21511c01ab56d75f3aa4643761e9fd096a7f8be (diff) |
2003-02-19 Mikael Hallendal <micke@codefactory.se>
* dbus/dbus-server.c (dbus_server_listen): Support tcp: addresses.
* dbus/dbus-transport-unix.c (_dbus_transport_new_for_tcp_socket):
Added to create a transport connecting using a tcp/ip socket.
* dbus/dbus-sysdeps.c (_dbus_connect_tcp_socket): Added to connect
to a tcp socket at given host and port.
(_dbus_listen_tcp_socket): added to listen on tcp socket for given
hostname and port.
* dbus/dbus-server.c (dbus_server_listen): Support tcp: addresses.
* dbus/dbus-server-unix.c (_dbus_server_new_for_tcp_socket):
Added to create a server listening on a TCP/IP socket.
Diffstat (limited to 'dbus/dbus-sysdeps.h')
-rw-r--r-- | dbus/dbus-sysdeps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h index 50da679c..3c95227d 100644 --- a/dbus/dbus-sysdeps.h +++ b/dbus/dbus-sysdeps.h @@ -79,6 +79,12 @@ int _dbus_connect_unix_socket (const char *path, DBusResultCode *result); int _dbus_listen_unix_socket (const char *path, DBusResultCode *result); +int _dbus_connect_tcp_socket (const char *host, + dbus_uint32_t port, + DBusResultCode *result); +int _dbus_listen_tcp_socket (const char *host, + dbus_uint32_t port, + DBusResultCode *result); int _dbus_accept (int listen_fd); dbus_bool_t _dbus_read_credentials_unix_socket (int client_fd, |