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

The "tree" of interfaces that is dialed. More...

Collaboration diagram for cc_monitor_tree:
Collaboration graph
[legend]

Data Fields

struct ast_cc_monitorfirst
 
struct ast_cc_monitorlast
 
ast_mutex_t lock
 

Detailed Description

The "tree" of interfaces that is dialed.

Though this is a linked list, it is logically treated as a tree of monitors. Each monitor has an id and a parent_id associated with it. The id is a unique ID for that monitor, and the parent_id is the unique ID of the monitor's parent in the tree. The tree is structured such that all of a parent's children will appear after the parent in the tree. However, it cannot be guaranteed exactly where after the parent the children are.

The tree is reference counted since several threads may need to use it, and it may last beyond the lifetime of a single thread.

Definition at line 324 of file ccss.c.

Field Documentation

◆ first

struct ast_cc_monitor* first

Definition at line 324 of file ccss.c.

◆ last

struct ast_cc_monitor* last

Definition at line 324 of file ccss.c.

◆ lock

Definition at line 324 of file ccss.c.


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