Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
skel_level Struct Reference

Object to hold level config information. More...

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
uint32_t max_guesses
 
uint32_t max_num
 
const ast_string_field name
 
struct skel_level_statestate
 

Detailed Description

Object to hold level config information.

Note
This object should hold a reference to an object that holds state across reloads. The other fields are just examples of the kind of data that might be stored in an level.
Examples:
app_skel.c.

Definition at line 177 of file app_skel.c.

Field Documentation

uint32_t max_guesses

The maximum number of guesses before losing

Examples:
app_skel.c.

Definition at line 182 of file app_skel.c.

uint32_t max_num

The upper value on th range of numbers to guess

Examples:
app_skel.c.

Definition at line 181 of file app_skel.c.

const ast_string_field name

The name of the level

Examples:
app_skel.c.

Definition at line 180 of file app_skel.c.

Referenced by PathSegment::__init__(), and PathSegment::get_child().

A pointer to level state that must exist across all reloads

Examples:
app_skel.c.

Definition at line 183 of file app_skel.c.

Referenced by skel_find_or_create_state(), and skel_level_alloc().


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