Asterisk - The Open Source Telephony Project GIT-master-7921072
Data Fields
ast_endpoint_snapshot Struct Reference

A snapshot of an endpoint's state. More...

#include <stasis_endpoints.h>

Collaboration diagram for ast_endpoint_snapshot:
Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
char * channel_ids []
 
const ast_string_field id
 
int max_channels
 
int num_channels
 
const ast_string_field resource
 
enum ast_endpoint_state state
 
const ast_string_field tech
 

Detailed Description

A snapshot of an endpoint's state.

The id for an endpoint is tech/resource. The duplication is needed because there are several cases where any of the three values would be needed, and constantly splitting or reassembling would be a pain.

Since
12

Definition at line 48 of file stasis_endpoints.h.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 53 of file stasis_endpoints.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

< unique id for this endpoint.

< Channel technology

< Tech-unique name

Definition at line 53 of file stasis_endpoints.h.

◆ channel_ids

char* channel_ids[]

◆ id

const ast_string_field id

◆ max_channels

int max_channels

Maximum number of channels this endpoint supports. If the upper limit for an endpoint is unknown, this field is set to -1.

Definition at line 61 of file stasis_endpoints.h.

Referenced by ast_endpoint_snapshot_create(), ast_endpoint_snapshot_to_json(), and AST_TEST_DEFINE().

◆ num_channels

int num_channels

◆ resource

const ast_string_field resource

◆ state

◆ tech

const ast_string_field tech

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