Implementation details of DBusTransport on UNIX. More...
Functions | |
DBusTransport * | _dbus_transport_new_for_domain_socket (const char *path, dbus_bool_t abstract, DBusError *error) |
Creates a new transport for the given Unix domain socket path. | |
DBusTransportOpenResult | _dbus_transport_open_platform_specific (DBusAddressEntry *entry, DBusTransport **transport_p, DBusError *error) |
Opens platform specific transport types. |
Implementation details of DBusTransport on UNIX.
DBusTransport* _dbus_transport_new_for_domain_socket | ( | const char * | path, | |
dbus_bool_t | abstract, | |||
DBusError * | error | |||
) |
Creates a new transport for the given Unix domain socket path.
This creates a client-side of a transport.
path | the path to the domain socket. | |
abstract | TRUE to use abstract socket namespace | |
error | address where an error can be returned. |
Definition at line 58 of file dbus-transport-unix.c.
References _dbus_close_socket(), _dbus_connect_unix_socket(), _dbus_string_append(), _dbus_string_free(), _dbus_string_init(), _dbus_transport_new_for_socket(), DBUS_ERROR_NO_MEMORY, dbus_set_error(), and NULL.
DBusTransportOpenResult _dbus_transport_open_platform_specific | ( | DBusAddressEntry * | entry, | |
DBusTransport ** | transport_p, | |||
DBusError * | error | |||
) |
Opens platform specific transport types.
entry | the address entry to try opening | |
transport_p | return location for the opened transport | |
error | error to be set |
Definition at line 50 of file dbus-transport-win.c.