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
Memory allocation implementation details
[
group__DBusInternals.html
D-BUS internal implementation details
]
internals of
group__DBusMemory.html#ga0
dbus_malloc()
etc.
#_details
More...
Data Structures
struct
structShutdownClosure.html
ShutdownClosure
This struct represents a function to be called on shutdown.
structShutdownClosure.html#_details
More...
Typedefs
typedef
structShutdownClosure.html
ShutdownClosure
group__DBusMemoryInternals.html#ga1
ShutdownClosure
Represents a function to be called on shutdown.
Functions
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMemoryInternals.html#ga3
_dbus_register_shutdown_func
(DBusShutdownFunction func, void *data)
Register a cleanup function to be called exactly once the next time
group__DBusMemory.html#ga5
dbus_shutdown()
is called.
#ga3
Variables
int
group__DBusMemoryInternals.html#ga0
_dbus_current_generation
= 1
_dbus_current_generation is used to track each time that
group__DBusMemory.html#ga5
dbus_shutdown()
is called, so we can reinit things after it's been called.
#ga0
Detailed Description
internals of
group__DBusMemory.html#ga0
dbus_malloc()
etc.
Implementation details related to allocating and releasing blocks of memory.
Function Documentation
group__DBusTypes.html#ga2
dbus_bool_t
_dbus_register_shutdown_func
(
DBusShutdownFunction
func
,
void *
data
)
Register a cleanup function to be called exactly once the next time
group__DBusMemory.html#ga5
dbus_shutdown()
is called.
Parameters:
func
the function
data
data to pass to the function
Returns:
group__DBusMacros.html#ga3
FALSE
on not enough memory
Definition at line
dbus-memory_8c-source.html#l00711
711
of file
dbus-memory_8c-source.html
dbus-memory.c
.
References
dbus-internals_8h-source.html#l00270
_DBUS_LOCK
,
dbus-internals_8h-source.html#l00271
_DBUS_UNLOCK
,
dbus-memory_8c-source.html#l00696
ShutdownClosure::data
,
dbus-memory_8h-source.html#l00041
dbus_new
,
group__DBusMacros.html#ga3
FALSE
,
dbus-memory_8c-source.html#l00695
ShutdownClosure::func
,
dbus-memory_8c-source.html#l00694
ShutdownClosure::next
,
group__DBusMacros.html#ga4
NULL
, and
group__DBusMacros.html#ga2
TRUE
.
Variable Documentation
int
group__DBusMemoryInternals.html#ga0
_dbus_current_generation
= 1
_dbus_current_generation is used to track each time that
group__DBusMemory.html#ga5
dbus_shutdown()
is called, so we can reinit things after it's been called.
It is simply incremented each time we shut down.
Definition at line
dbus-memory_8c-source.html#l00682
682
of file
dbus-memory_8c-source.html
dbus-memory.c
.
Referenced by
dbus-connection_8c-source.html#l01070
_dbus_connection_new_for_transport()
,
dbus-connection_8c-source.html#l01258
_dbus_connection_ref_unlocked()
,
dbus-connection_8c-source.html#l01930
dbus_connection_close()
,
dbus-connection_8c-source.html#l01746
dbus_connection_ref()
,
dbus-connection_8c-source.html#l01884
dbus_connection_unref()
,
dbus-message_8c-source.html#l01076
dbus_message_ref()
,
dbus-message_8c-source.html#l01097
dbus_message_unref()
, and
dbus-threads_8c-source.html#l00306
dbus_threads_init()
.
Generated on Tue Sep 13 01:28:09 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
