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

Rule to check to see if an operation is allowed. More...

#include <stasis_app.h>

Collaboration diagram for stasis_app_control_rule:
Collaboration graph
[legend]

Data Fields

enum stasis_app_control_channel_result(* check_rule )(const struct stasis_app_control *control)
 Checks to see if an operation is allowed on the control. More...
 
struct {
   struct stasis_app_control_rule *   next
 
next
 

Detailed Description

Rule to check to see if an operation is allowed.

Definition at line 345 of file stasis_app.h.

Field Documentation

◆ check_rule

enum stasis_app_control_channel_result(* check_rule) (const struct stasis_app_control *control)

Checks to see if an operation is allowed on the control.

Parameters
controlControl object to check
Returns
0 on success, otherwise a failure code

Definition at line 352 of file stasis_app.h.

Referenced by app_control_check_rules().

◆ next [1/2]

struct { ... } next

Next item in the list

◆ next [2/2]

Definition at line 355 of file stasis_app.h.

Referenced by app_control_check_rules(), and app_control_unregister_rule().


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