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
DBusServer implementations for UNIX
[
group__DBusInternals.html
D-BUS internal implementation details
]
Implementation details of
structDBusServer.html
DBusServer
on UNIX.
#_details
More...
Data Structures
struct
structDBusServerUnix.html
DBusServerUnix
Implementation details of DBusServerUnix.
structDBusServerUnix.html#_details
More...
Typedefs
typedef
structDBusServerUnix.html
DBusServerUnix
group__DBusServerUnix.html#ga0
DBusServerUnix
Opaque object representing a Unix server implementation.
Functions
structDBusServer.html
DBusServer
*
group__DBusServerUnix.html#ga6
_dbus_server_new_for_fd
(int fd, const
structDBusString.html
DBusString
*address)
Creates a new server listening on the given file descriptor.
#ga6
structDBusServer.html
DBusServer
*
group__DBusServerUnix.html#ga7
_dbus_server_new_for_domain_socket
(const char *path,
group__DBusTypes.html#ga2
dbus_bool_t
abstract,
structDBusError.html
DBusError
*error)
Creates a new server listening on the given Unix domain socket.
#ga7
structDBusServer.html
DBusServer
*
group__DBusServerUnix.html#ga8
_dbus_server_new_for_tcp_socket
(const char *host,
group__DBusTypes.html#ga3
dbus_uint32_t
port,
structDBusError.html
DBusError
*error)
Creates a new server listening on the given hostname and port.
#ga8
Detailed Description
Implementation details of
structDBusServer.html
DBusServer
on UNIX.
Function Documentation
structDBusServer.html
DBusServer
* _dbus_server_new_for_domain_socket
(
const char *
path
,
group__DBusTypes.html#ga2
dbus_bool_t
abstract
,
structDBusError.html
DBusError
*
error
)
Creates a new server listening on the given Unix domain socket.
Parameters:
path
the path for the domain socket.
abstract
group__DBusMacros.html#ga2
TRUE
to use abstract socket namespace
error
location to store reason for failure.
Returns:
the new server, or
group__DBusMacros.html#ga4
NULL
on failure.
Definition at line
dbus-server-unix_8c-source.html#l00315
315
of file
dbus-server-unix_8c-source.html
dbus-server-unix.c
.
References
dbus-address_8c-source.html#l00187
_dbus_address_append_escaped()
,
dbus-sysdeps_8c-source.html#l02718
_dbus_close()
,
dbus-sysdeps_8c-source.html#l02587
_dbus_fd_set_close_on_exec()
,
dbus-sysdeps_8c-source.html#l00484
_dbus_listen_unix_socket()
,
dbus-server-unix_8c-source.html#l00254
_dbus_server_new_for_fd()
,
dbus-internals_8c-source.html#l00303
_dbus_strdup()
,
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-string_8c-source.html#l00208
_dbus_string_init_const()
,
dbus-memory_8c-source.html#l00612
dbus_free()
,
dbus-errors_8c-source.html#l00313
dbus_set_error()
,
group__DBusMacros.html#ga4
NULL
, and
dbus-server-unix_8c-source.html#l00054
socket_name
.
Referenced by
dbus-server_8c-source.html#l00486
dbus_server_listen()
.
structDBusServer.html
DBusServer
* _dbus_server_new_for_fd
(
int
fd
,
const
structDBusString.html
DBusString
*
address
)
Creates a new server listening on the given file descriptor.
The file descriptor should be nonblocking (use
group__DBusInternalsUtils.html#ga102
_dbus_set_fd_nonblocking()
to make it so). The file descriptor should be listening for connections, that is, listen() should have been successfully invoked on it. The server will use accept() to accept new client connections.
Parameters:
fd
the file descriptor.
address
the server's address
Returns:
the new server, or
group__DBusMacros.html#ga4
NULL
if no memory.
Definition at line
dbus-server-unix_8c-source.html#l00254
254
of file
dbus-server-unix_8c-source.html
dbus-server-unix.c
.
References
dbus-server_8c-source.html#l00287
_dbus_server_add_watch()
,
dbus-server_8c-source.html#l00195
_dbus_server_finalize_base()
,
dbus-server_8c-source.html#l00114
_dbus_server_init_base()
,
dbus-watch_8c-source.html#l00067
_dbus_watch_new()
,
dbus-watch_8c-source.html#l00117
_dbus_watch_unref()
,
dbus-server-unix_8c-source.html#l00051
base
,
dbus-memory_8c-source.html#l00612
dbus_free()
,
dbus-memory_8h-source.html#l00042
dbus_new0
,
dbus-server-unix_8c-source.html#l00052
fd
,
group__DBusMacros.html#ga4
NULL
,
group__DBusMacros.html#ga2
TRUE
, and
dbus-server-unix_8c-source.html#l00053
watch
.
Referenced by
dbus-server-unix_8c-source.html#l00315
_dbus_server_new_for_domain_socket()
, and
dbus-server-unix_8c-source.html#l00395
_dbus_server_new_for_tcp_socket()
.
structDBusServer.html
DBusServer
* _dbus_server_new_for_tcp_socket
(
const char *
host
,
group__DBusTypes.html#ga3
dbus_uint32_t
port
,
structDBusError.html
DBusError
*
error
)
Creates a new server listening on the given hostname and port.
If the hostname is NULL, listens on localhost.
Parameters:
host
the hostname to listen on.
port
the port to listen on.
error
location to store reason for failure.
Returns:
the new server, or
group__DBusMacros.html#ga4
NULL
on failure.
Definition at line
dbus-server-unix_8c-source.html#l00395
395
of file
dbus-server-unix_8c-source.html
dbus-server-unix.c
.
References
dbus-address_8c-source.html#l00187
_dbus_address_append_escaped()
,
dbus-sysdeps_8c-source.html#l02587
_dbus_fd_set_close_on_exec()
,
dbus-sysdeps_8c-source.html#l00673
_dbus_listen_tcp_socket()
,
dbus-server-unix_8c-source.html#l00254
_dbus_server_new_for_fd()
,
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-string_8c-source.html#l00208
_dbus_string_init_const()
,
dbus-errors_8c-source.html#l00313
dbus_set_error()
, and
group__DBusMacros.html#ga4
NULL
.
Referenced by
dbus-server_8c-source.html#l00486
dbus_server_listen()
.
Generated on Tue Sep 13 01:28:09 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
