index.html
Main Page
|
modules.html
Modules
|
namespaces.html
Namespace List
|
hierarchy.html
Class Hierarchy
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
namespacemembers.html
Namespace Members
|
functions.html
Data Fields
|
pages.html
Related Pages
DBusTransport implementations for UNIX
[
group__DBusInternals.html
D-BUS internal implementation details
]
Implementation details of
structDBusTransport.html
DBusTransport
on UNIX.
#_details
More...
Data Structures
struct
structDBusTransportUnix.html
DBusTransportUnix
Implementation details of DBusTransportUnix.
structDBusTransportUnix.html#_details
More...
Typedefs
typedef
structDBusTransportUnix.html
DBusTransportUnix
group__DBusTransportUnix.html#ga0
DBusTransportUnix
Opaque object representing a Unix file descriptor transport.
Functions
structDBusTransport.html
DBusTransport
*
group__DBusTransportUnix.html#ga19
_dbus_transport_new_for_fd
(int fd, const
structDBusString.html
DBusString
*server_guid, const
structDBusString.html
DBusString
*address)
Creates a new transport for the given file descriptor.
#ga19
structDBusTransport.html
DBusTransport
*
group__DBusTransportUnix.html#ga20
_dbus_transport_new_for_domain_socket
(const char *path,
group__DBusTypes.html#ga2
dbus_bool_t
abstract,
structDBusError.html
DBusError
*error)
Creates a new transport for the given Unix domain socket path.
#ga20
structDBusTransport.html
DBusTransport
*
group__DBusTransportUnix.html#ga21
_dbus_transport_new_for_tcp_socket
(const char *host,
group__DBusTypes.html#ga4
dbus_int32_t
port,
structDBusError.html
DBusError
*error)
Creates a new transport for the given hostname and port.
#ga21
Detailed Description
Implementation details of
structDBusTransport.html
DBusTransport
on UNIX.
Function Documentation
structDBusTransport.html
DBusTransport
* _dbus_transport_new_for_domain_socket
(
const char *
path
,
group__DBusTypes.html#ga2
dbus_bool_t
abstract
,
structDBusError.html
DBusError
*
error
)
Creates a new transport for the given Unix domain socket path.
This creates a client-side of a transport.
todo.html#_todo000084
Todo:
once we add a way to escape paths in a dbus address, this function needs to do escaping.
Parameters:
path
the path to the domain socket.
abstract
group__DBusMacros.html#ga2
TRUE
to use abstract socket namespace
error
address where an error can be returned.
Returns:
a new transport, or
group__DBusMacros.html#ga4
NULL
on failure.
Definition at line
dbus-transport-unix_8c-source.html#l01192
1192
of file
dbus-transport-unix_8c-source.html
dbus-transport-unix.c
.
References
dbus-sysdeps_8c-source.html#l02718
_dbus_close()
,
dbus-sysdeps_8c-source.html#l00394
_dbus_connect_unix_socket()
,
dbus-sysdeps_8c-source.html#l02587
_dbus_fd_set_close_on_exec()
,
dbus-string_8c-source.html#l00986
_dbus_string_append()
,
dbus-string_8c-source.html#l00261
_dbus_string_free()
,
dbus-string_8c-source.html#l00174
_dbus_string_init()
,
dbus-transport-unix_8c-source.html#l01122
_dbus_transport_new_for_fd()
,
dbus-errors_8c-source.html#l00313
dbus_set_error()
,
group__DBusMacros.html#ga3
FALSE
, and
group__DBusMacros.html#ga4
NULL
.
Referenced by
dbus-transport_8c-source.html#l00212
_dbus_transport_open()
.
structDBusTransport.html
DBusTransport
* _dbus_transport_new_for_fd
(
int
fd
,
const
structDBusString.html
DBusString
*
server_guid
,
const
structDBusString.html
DBusString
*
address
)
Creates a new transport for the given file descriptor.
The file descriptor must be nonblocking (use
group__DBusInternalsUtils.html#ga102
_dbus_set_fd_nonblocking()
to make it so). This function is shared by various transports that boil down to a full duplex file descriptor.
Parameters:
fd
the file descriptor.
server_guid
non-
group__DBusMacros.html#ga4
NULL
if this transport is on the server side of a connection
address
the transport's address
Returns:
the new transport, or
group__DBusMacros.html#ga4
NULL
if no memory.
Definition at line
dbus-transport-unix_8c-source.html#l01122
1122
of file
dbus-transport-unix_8c-source.html
dbus-transport-unix.c
.
References
dbus-string_8c-source.html#l00261
_dbus_string_free()
,
dbus-string_8c-source.html#l00174
_dbus_string_init()
,
dbus-transport_8c-source.html#l00091
_dbus_transport_init_base()
,
dbus-watch_8c-source.html#l00067
_dbus_watch_new()
,
dbus-watch_8c-source.html#l00117
_dbus_watch_unref()
,
dbus-transport-unix_8c-source.html#l00049
base
,
dbus-memory_8c-source.html#l00612
dbus_free()
,
dbus-memory_8h-source.html#l00042
dbus_new0
,
dbus-transport-unix_8c-source.html#l00064
encoded_incoming
,
dbus-transport-unix_8c-source.html#l00061
encoded_outgoing
,
group__DBusMacros.html#ga3
FALSE
,
dbus-transport-unix_8c-source.html#l00050
fd
,
dbus-transport-unix_8c-source.html#l00054
max_bytes_read_per_iteration
,
dbus-transport-unix_8c-source.html#l00055
max_bytes_written_per_iteration
,
dbus-transport-unix_8c-source.html#l00057
message_bytes_written
,
group__DBusMacros.html#ga4
NULL
,
dbus-transport-unix_8c-source.html#l00051
read_watch
, and
dbus-transport-unix_8c-source.html#l00052
write_watch
.
Referenced by
dbus-transport-unix_8c-source.html#l01192
_dbus_transport_new_for_domain_socket()
, and
dbus-transport-unix_8c-source.html#l01259
_dbus_transport_new_for_tcp_socket()
.
structDBusTransport.html
DBusTransport
* _dbus_transport_new_for_tcp_socket
(
const char *
host
,
group__DBusTypes.html#ga4
dbus_int32_t
port
,
structDBusError.html
DBusError
*
error
)
Creates a new transport for the given hostname and port.
Parameters:
host
the host to connect to
port
the port to connect to
error
location to store reason for failure.
Returns:
a new transport, or
group__DBusMacros.html#ga4
NULL
on failure.
Definition at line
dbus-transport-unix_8c-source.html#l01259
1259
of file
dbus-transport-unix_8c-source.html
dbus-transport-unix.c
.
References
dbus-sysdeps_8c-source.html#l02718
_dbus_close()
,
dbus-sysdeps_8c-source.html#l00594
_dbus_connect_tcp_socket()
,
dbus-sysdeps_8c-source.html#l02587
_dbus_fd_set_close_on_exec()
,
dbus-string_8c-source.html#l00986
_dbus_string_append()
,
dbus-sysdeps_8c-source.html#l01014
_dbus_string_append_int()
,
dbus-string_8c-source.html#l00261
_dbus_string_free()
,
dbus-string_8c-source.html#l00174
_dbus_string_init()
,
dbus-transport-unix_8c-source.html#l01122
_dbus_transport_new_for_fd()
,
dbus-errors_8c-source.html#l00313
dbus_set_error()
,
group__DBusMacros.html#ga3
FALSE
, and
group__DBusMacros.html#ga4
NULL
.
Referenced by
dbus-transport_8c-source.html#l00212
_dbus_transport_open()
.
Generated on Tue Sep 13 01:28:09 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
