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

#include <res_parking.h>

Collaboration diagram for parking_lot:
Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
struct parking_lot_cfgcfg
 
int disable_mark
 
enum parking_lot_modes mode
 
const ast_string_field name
 
int next_space
 
struct ao2_containerparked_users
 
struct ast_bridgeparking_bridge
 

Detailed Description

Definition at line 92 of file res_parking.h.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 100 of file res_parking.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 100 of file res_parking.h.

◆ cfg

struct parking_lot_cfg* cfg

◆ disable_mark

int disable_mark

On reload, disable this parking lot if it doesn't receive a new configuration.

Definition at line 98 of file res_parking.h.

Referenced by disable_marked_lots(), mark_lots_as_disabled(), parking_lot_build_or_update(), and parking_lot_disable().

◆ mode

enum parking_lot_modes mode

Whether a parking lot is operational, being reconfigured, primed for deletion, or dynamically created.

Definition at line 97 of file res_parking.h.

Referenced by display_parking_lot(), dispose_test_lot(), generate_parked_user(), parking_lot_build_or_update(), parking_lot_disable(), and parking_lot_remove_if_unused().

◆ name

const ast_string_field name

◆ next_space

int next_space

When using parkfindnext, which space we should start searching from next time we park

Definition at line 93 of file res_parking.h.

Referenced by generate_parked_user(), and parking_lot_get_space().

◆ parked_users

struct ao2_container* parked_users

◆ parking_bridge

struct ast_bridge* parking_bridge

Bridged where parked calls will rest until they are answered or otherwise leave

Definition at line 94 of file res_parking.h.

Referenced by AST_TEST_DEFINE(), parking_lot_destructor(), and parking_lot_get_bridge().


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