|
|
|
@ -396,7 +396,7 @@ typedef void (*ao2_destructor_fn)(void *);
|
|
|
|
|
*
|
|
|
|
|
* \param data_size The sizeof() of the user-defined structure.
|
|
|
|
|
* \param destructor_fn The destructor function (can be NULL)
|
|
|
|
|
* \param debug_msg Ao2 object debug tracing message.
|
|
|
|
|
* \param debug_msg An ao2 object debug tracing message.
|
|
|
|
|
* \return A pointer to user-data.
|
|
|
|
|
*
|
|
|
|
|
* \details
|
|
|
|
@ -555,7 +555,7 @@ Operations on container include:
|
|
|
|
|
OBJ_POINTER - if set, 'arg' is an object pointer, and a hash table
|
|
|
|
|
search will be done. If not, a traversal is done.
|
|
|
|
|
OBJ_KEY - if set, 'arg', is a hashable item that is not an object.
|
|
|
|
|
Similar to OBJ_POINTER and mutually exclusive.
|
|
|
|
|
Similar to OBJ_POINTER and mutually exclusive.
|
|
|
|
|
|
|
|
|
|
- \b ao2_callback(c, flags, fn, arg)
|
|
|
|
|
apply fn(obj, arg) to all objects in the container.
|
|
|
|
@ -570,7 +570,7 @@ Operations on container include:
|
|
|
|
|
search will be done. If not, a traversal is done through
|
|
|
|
|
all the hash table 'buckets'..
|
|
|
|
|
OBJ_KEY - if set, 'arg', is a hashable item that is not an object.
|
|
|
|
|
Similar to OBJ_POINTER and mutually exclusive.
|
|
|
|
|
Similar to OBJ_POINTER and mutually exclusive.
|
|
|
|
|
- fn is a func that returns int, and takes 3 args:
|
|
|
|
|
(void *obj, void *arg, int flags);
|
|
|
|
|
obj is an object
|
|
|
|
|