summaryrefslogtreecommitdiff
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 a342fa580..592439346 100644
--- a/include/asterisk/ael_structs.h
+++ b/include/asterisk/ael_structs.h
@@ -107,7 +107,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;