aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/ael_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/ael_structs.h')
-rw-r--r--include/asterisk/ael_structs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/ael_structs.h b/include/asterisk/ael_structs.h
index 01a4244e1..6ab3a8cf1 100644
--- a/include/asterisk/ael_structs.h
+++ b/include/asterisk/ael_structs.h
@@ -178,7 +178,8 @@ struct ael_extension
char *hints;
int regexten;
int is_switch;
- int has_switch;
+ int has_switch; /* set if a switch exists in the extension */
+ int checked_switch; /* set if we checked for a switch in the extension -- so we don't have to do it again */
struct ast_context *context;