Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ao2_container_methods Struct Reference

#include <astobj2_container_private.h>

Collaboration diagram for ao2_container_methods:
Collaboration graph
[legend]

Data Fields

ao2_container_alloc_empty_clone_fn alloc_empty_clone
 Create an empty copy of this container. More...
 
ao2_container_destroy_fn destroy
 
ao2_container_insert_fn insert
 
ao2_iterator_next_fn iterator_next
 
ao2_container_new_node_fn new_node
 
ao2_container_find_cleanup_fn traverse_cleanup
 
ao2_container_find_first_fn traverse_first
 
ao2_container_find_next_fn traverse_next
 

Detailed Description

Container virtual methods template.

Definition at line 237 of file astobj2_container_private.h.

Field Documentation

◆ alloc_empty_clone

Create an empty copy of this container.

Definition at line 241 of file astobj2_container_private.h.

Referenced by __ao2_container_clone().

◆ destroy

Destroy this container.

Definition at line 239 of file astobj2_container_private.h.

Referenced by container_destruct().

◆ insert

Insert a node into this container.

Definition at line 245 of file astobj2_container_private.h.

◆ iterator_next

ao2_iterator_next_fn iterator_next

Find the next iteration element in the container.

Definition at line 253 of file astobj2_container_private.h.

Referenced by __ao2_iterator_next().

◆ new_node

Create a new container node.

Definition at line 243 of file astobj2_container_private.h.

◆ traverse_cleanup

Traverse the container, cleanup state.

Definition at line 251 of file astobj2_container_private.h.

◆ traverse_first

Traverse the container, find the first node.

Definition at line 247 of file astobj2_container_private.h.

◆ traverse_next

Traverse the container, find the next node.

Definition at line 249 of file astobj2_container_private.h.


The documentation for this struct was generated from the following file: