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 implementation details
[
group__DBusInternals.html
D-BUS internal implementation details
]
Implementation details of
structDBusServer.html
DBusServer
.
#_details
More...
Typedefs
typedef
group__DBusTypes.html#ga2
dbus_bool_t
(*
group__DBusServerInternals.html#ga0
DBusWatchAddFunction
)(
structDBusWatchList.html
DBusWatchList
*list,
structDBusWatch.html
DBusWatch
*watch)
typedef void(*
group__DBusServerInternals.html#ga1
DBusWatchRemoveFunction
)(
structDBusWatchList.html
DBusWatchList
*list,
structDBusWatch.html
DBusWatch
*watch)
typedef void(*
group__DBusServerInternals.html#ga2
DBusWatchToggleFunction
)(
structDBusWatchList.html
DBusWatchList
*list,
structDBusWatch.html
DBusWatch
*watch,
group__DBusTypes.html#ga2
dbus_bool_t
enabled)
typedef
group__DBusTypes.html#ga2
dbus_bool_t
(*
group__DBusServerInternals.html#ga3
DBusTimeoutAddFunction
)(
structDBusTimeoutList.html
DBusTimeoutList
*list,
structDBusTimeout.html
DBusTimeout
*timeout)
typedef void(*
group__DBusServerInternals.html#ga4
DBusTimeoutRemoveFunction
)(
structDBusTimeoutList.html
DBusTimeoutList
*list,
structDBusTimeout.html
DBusTimeout
*timeout)
typedef void(*
group__DBusServerInternals.html#ga5
DBusTimeoutToggleFunction
)(
structDBusTimeoutList.html
DBusTimeoutList
*list,
structDBusTimeout.html
DBusTimeout
*timeout,
group__DBusTypes.html#ga2
dbus_bool_t
enabled)
Functions
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusServerInternals.html#ga8
_dbus_server_init_base
(
structDBusServer.html
DBusServer
*server, const
structDBusServerVTable.html
DBusServerVTable
*vtable, const
structDBusString.html
DBusString
*address)
Initializes the members of the
structDBusServer.html
DBusServer
base class.
#ga8
void
group__DBusServerInternals.html#ga9
_dbus_server_finalize_base
(
structDBusServer.html
DBusServer
*server)
Finalizes the members of the
structDBusServer.html
DBusServer
base class.
#ga9
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusServerInternals.html#ga11
_dbus_server_add_watch
(
structDBusServer.html
DBusServer
*server,
structDBusWatch.html
DBusWatch
*watch)
Adds a watch for this server, chaining out to application-provided watch handlers.
#ga11
void
group__DBusServerInternals.html#ga12
_dbus_server_remove_watch
(
structDBusServer.html
DBusServer
*server,
structDBusWatch.html
DBusWatch
*watch)
Removes a watch previously added with
group__DBusServerInternals.html#ga12
_dbus_server_remove_watch()
.
#ga12
void
group__DBusServerInternals.html#ga13
_dbus_server_toggle_watch
(
structDBusServer.html
DBusServer
*server,
structDBusWatch.html
DBusWatch
*watch,
group__DBusTypes.html#ga2
dbus_bool_t
enabled)
Toggles a watch and notifies app via server's DBusWatchToggledFunction if available.
#ga13
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusServerInternals.html#ga15
_dbus_server_add_timeout
(
structDBusServer.html
DBusServer
*server,
structDBusTimeout.html
DBusTimeout
*timeout)
Adds a timeout for this server, chaining out to application-provided timeout handlers.
#ga15
void
group__DBusServerInternals.html#ga16
_dbus_server_remove_timeout
(
structDBusServer.html
DBusServer
*server,
structDBusTimeout.html
DBusTimeout
*timeout)
Removes a timeout previously added with
group__DBusServerInternals.html#ga15
_dbus_server_add_timeout()
.
#ga16
void
group__DBusServerInternals.html#ga17
_dbus_server_toggle_timeout
(
structDBusServer.html
DBusServer
*server,
structDBusTimeout.html
DBusTimeout
*timeout,
group__DBusTypes.html#ga2
dbus_bool_t
enabled)
Toggles a timeout and notifies app via server's DBusTimeoutToggledFunction if available.
#ga17
Detailed Description
Implementation details of
structDBusServer.html
DBusServer
.
Function Documentation
group__DBusTypes.html#ga2
dbus_bool_t
_dbus_server_add_timeout
(
structDBusServer.html
DBusServer
*
server
,
structDBusTimeout.html
DBusTimeout
*
timeout
)
Adds a timeout for this server, chaining out to application-provided timeout handlers.
The timeout should be repeatedly handled with
group__DBusTimeout.html#ga3
dbus_timeout_handle()
at its given interval until it is removed.
Parameters:
server
the server.
timeout
the timeout to add.
Definition at line
dbus-server_8c-source.html#l00403
403
of file
dbus-server_8c-source.html
dbus-server.c
.
References
dbus-timeout_8c-source.html#l00309
_dbus_timeout_list_add_timeout()
,
group__DBusMacros.html#ga3
FALSE
, and
group__DBusMacros.html#ga4
NULL
.
group__DBusTypes.html#ga2
dbus_bool_t
_dbus_server_add_watch
(
structDBusServer.html
DBusServer
*
server
,
structDBusWatch.html
DBusWatch
*
watch
)
Adds a watch for this server, chaining out to application-provided watch handlers.
Parameters:
server
the server.
watch
the watch to add.
Definition at line
dbus-server_8c-source.html#l00287
287
of file
dbus-server_8c-source.html
dbus-server.c
.
References
dbus-watch_8c-source.html#l00351
_dbus_watch_list_add_watch()
,
group__DBusMacros.html#ga3
FALSE
, and
group__DBusMacros.html#ga4
NULL
.
Referenced by
dbus-server-unix_8c-source.html#l00254
_dbus_server_new_for_fd()
.
void _dbus_server_finalize_base
(
structDBusServer.html
DBusServer
*
server
)
Finalizes the members of the
structDBusServer.html
DBusServer
base class.
Chained up to by subclass finalizers.
Parameters:
server
the server.
Definition at line
dbus-server_8c-source.html#l00195
195
of file
dbus-server_8c-source.html
dbus-server.c
.
References
dbus-internals_8h-source.html#l00100
_dbus_assert
,
dbus-dataslot_8c-source.html#l00348
_dbus_data_slot_list_free()
,
dbus-threads_8c-source.html#l00076
_dbus_mutex_free()
,
dbus-string_8c-source.html#l00261
_dbus_string_free()
,
dbus-timeout_8c-source.html#l00210
_dbus_timeout_list_free()
,
dbus-watch_8c-source.html#l00225
_dbus_watch_list_free()
,
dbus-server-protected_8h-source.html#l00078
DBusServer::address
,
dbus-server-protected_8h-source.html#l00093
DBusServer::auth_mechanisms
,
dbus-memory_8c-source.html#l00612
dbus_free()
,
dbus-memory_8c-source.html#l00650
dbus_free_string_array()
,
dbus-server_8c-source.html#l00874
dbus_server_set_new_connection_function()
,
dbus-server-protected_8h-source.html#l00095
DBusServer::disconnected
,
dbus-server-protected_8h-source.html#l00073
DBusServer::guid_hex
,
dbus-server-protected_8h-source.html#l00098
DBusServer::have_server_lock
,
dbus-server-protected_8h-source.html#l00069
DBusServer::mutex
,
group__DBusMacros.html#ga4
NULL
,
dbus-server-protected_8h-source.html#l00082
DBusServer::slot_list
,
dbus-server-protected_8h-source.html#l00076
DBusServer::timeouts
, and
dbus-server-protected_8h-source.html#l00075
DBusServer::watches
.
Referenced by
dbus-server-unix_8c-source.html#l00254
_dbus_server_new_for_fd()
.
group__DBusTypes.html#ga2
dbus_bool_t
_dbus_server_init_base
(
structDBusServer.html
DBusServer
*
server
,
const
structDBusServerVTable.html
DBusServerVTable
*
vtable
,
const
structDBusString.html
DBusString
*
address
)
Initializes the members of the
structDBusServer.html
DBusServer
base class.
Chained up to by subclass constructors.
Parameters:
server
the server.
vtable
the vtable for the subclass.
address
the server's address
Returns:
group__DBusMacros.html#ga2
TRUE
on success.
Definition at line
dbus-server_8c-source.html#l00114
114
of file
dbus-server_8c-source.html
dbus-server.c
.
References
dbus-dataslot_8c-source.html#l00209
_dbus_data_slot_list_init()
,
dbus-threads_8c-source.html#l00076
_dbus_mutex_free()
,
dbus-threads_8c-source.html#l00063
_dbus_mutex_new()
,
dbus-string_8c-source.html#l00261
_dbus_string_free()
,
dbus-string_8c-source.html#l02306
_dbus_string_hex_encode()
,
dbus-string_8c-source.html#l00174
_dbus_string_init()
,
dbus-string_8c-source.html#l00228
_dbus_string_init_const_len()
,
dbus-timeout_8c-source.html#l00210
_dbus_timeout_list_free()
,
dbus-timeout_8c-source.html#l00193
_dbus_timeout_list_new()
,
dbus-watch_8c-source.html#l00225
_dbus_watch_list_free()
,
dbus-watch_8c-source.html#l00208
_dbus_watch_list_new()
,
dbus-server-protected_8h-source.html#l00078
DBusServer::address
,
dbus-server-protected_8h-source.html#l00047
DBusGUID::as_bytes
,
dbus-memory_8c-source.html#l00612
dbus_free()
,
group__DBusMacros.html#ga3
FALSE
,
dbus-server-protected_8h-source.html#l00071
DBusServer::guid
,
dbus-server-protected_8h-source.html#l00073
DBusServer::guid_hex
,
dbus-server-protected_8h-source.html#l00069
DBusServer::mutex
,
group__DBusMacros.html#ga4
NULL
,
dbus-server-protected_8h-source.html#l00067
DBusServer::refcount
,
dbus-server-protected_8h-source.html#l00082
DBusServer::slot_list
,
dbus-server-protected_8h-source.html#l00076
DBusServer::timeouts
,
group__DBusMacros.html#ga2
TRUE
,
dbus-sysdeps_8h-source.html#l00192
DBusAtomic::value
,
dbus-server-protected_8h-source.html#l00068
DBusServer::vtable
, and
dbus-server-protected_8h-source.html#l00075
DBusServer::watches
.
Referenced by
dbus-server-unix_8c-source.html#l00254
_dbus_server_new_for_fd()
.
void _dbus_server_remove_timeout
(
structDBusServer.html
DBusServer
*
server
,
structDBusTimeout.html
DBusTimeout
*
timeout
)
Removes a timeout previously added with
group__DBusServerInternals.html#ga15
_dbus_server_add_timeout()
.
Parameters:
server
the server.
timeout
the timeout to remove.
Definition at line
dbus-server_8c-source.html#l00418
418
of file
dbus-server_8c-source.html
dbus-server.c
.
References
dbus-timeout_8c-source.html#l00339
_dbus_timeout_list_remove_timeout()
,
group__DBusMacros.html#ga3
FALSE
, and
group__DBusMacros.html#ga4
NULL
.
void _dbus_server_remove_watch
(
structDBusServer.html
DBusServer
*
server
,
structDBusWatch.html
DBusWatch
*
watch
)
Removes a watch previously added with
group__DBusServerInternals.html#ga12
_dbus_server_remove_watch()
.
Parameters:
server
the server.
watch
the watch to remove.
Definition at line
dbus-server_8c-source.html#l00303
303
of file
dbus-server_8c-source.html
dbus-server.c
.
References
dbus-watch_8c-source.html#l00384
_dbus_watch_list_remove_watch()
,
group__DBusMacros.html#ga3
FALSE
, and
group__DBusMacros.html#ga4
NULL
.
void _dbus_server_toggle_timeout
(
structDBusServer.html
DBusServer
*
server
,
structDBusTimeout.html
DBusTimeout
*
timeout
,
group__DBusTypes.html#ga2
dbus_bool_t
enabled
)
Toggles a timeout and notifies app via server's DBusTimeoutToggledFunction if available.
It's an error to call this function on a timeout that was not previously added.
Parameters:
server
the server.
timeout
the timeout to toggle.
enabled
whether to enable or disable
Definition at line
dbus-server_8c-source.html#l00437
437
of file
dbus-server_8c-source.html
dbus-server.c
.
References
dbus-timeout_8c-source.html#l00361
_dbus_timeout_list_toggle_timeout()
, and
group__DBusMacros.html#ga4
NULL
.
void _dbus_server_toggle_watch
(
structDBusServer.html
DBusServer
*
server
,
structDBusWatch.html
DBusWatch
*
watch
,
group__DBusTypes.html#ga2
dbus_bool_t
enabled
)
Toggles a watch and notifies app via server's DBusWatchToggledFunction if available.
It's an error to call this function on a watch that was not previously added.
Parameters:
server
the server.
watch
the watch to toggle.
enabled
whether to enable or disable
Definition at line
dbus-server_8c-source.html#l00323
323
of file
dbus-server_8c-source.html
dbus-server.c
.
References
dbus-internals_8h-source.html#l00100
_dbus_assert
,
dbus-watch_8c-source.html#l00411
_dbus_watch_list_toggle_watch()
, and
group__DBusMacros.html#ga4
NULL
.
Generated on Tue Sep 13 01:28:09 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
