Asterisk - The Open Source Telephony Project GIT-master-8f1982c
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
Data Fields
chanvar Struct Reference

structure for queuing ARI channel variable setting More...

Data Fields

char * name
 
char * value
 

Detailed Description

structure for queuing ARI channel variable setting

It may seem weird to define this custom structure given that we already have ast_var_t and ast_variable defined elsewhere. The problem with those is that they are not tolerant of NULL channel variable value pointers. In fact, in both cases, the best they could do is to have a zero-length variable value. However, when un-setting a channel variable, it is important to pass a NULL value, not a zero-length string.

Definition at line 711 of file control.c.

Field Documentation

◆ name

char* name

Name of variable to set/unset

Definition at line 713 of file control.c.

Referenced by PathSegment::get_child(), Parameter::load(), Property::load(), and SwaggerType::load().

◆ value

char* value

Value of variable to set. If unsetting, this will be NULL

Definition at line 715 of file control.c.


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