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

Channel datastore data for max forwards. More...

Data Fields

int current_count
 
int starting_count
 

Detailed Description

Channel datastore data for max forwards.

Definition at line 29 of file max_forwards.c.

Field Documentation

◆ current_count

int current_count

The current count. When this reaches 0, you're outta luck

Definition at line 33 of file max_forwards.c.

Referenced by ast_max_forwards_decrement(), ast_max_forwards_get(), ast_max_forwards_reset(), ast_max_forwards_set(), max_forwards_alloc(), and max_forwards_duplicate().

◆ starting_count

int starting_count

The starting count. Used to allow resetting to the original value

Definition at line 31 of file max_forwards.c.

Referenced by ast_max_forwards_reset(), ast_max_forwards_set(), max_forwards_alloc(), and max_forwards_duplicate().


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