Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
skel_level Struct Reference

Object to hold level config information. More...

Collaboration diagram for skel_level:
Collaboration graph
[legend]

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

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 180 of file app_skel.c.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

< The name of the level

Definition at line 180 of file app_skel.c.

◆ max_guesses

uint32_t max_guesses

The maximum number of guesses before losing

Examples
app_skel.c.

Definition at line 182 of file app_skel.c.

Referenced by handle_skel_show_levels().

◆ max_num

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.

Referenced by handle_skel_show_levels().

◆ name

const ast_string_field name

◆ state

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 handle_skel_show_levels(), skel_level_alloc(), and skel_level_destructor().


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