summaryrefslogtreecommitdiff
path: root/include/asterisk/app.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-05 21:06:26 +0000
committerMark Spencer <markster@digium.com>2005-03-05 21:06:26 +0000
commit1bb8d529383c3db2eaa397c50485f1c039a579c3 (patch)
tree638aa9e546385902b2271111812167e5adcea32e /include/asterisk/app.h
parent77b84426066654ab673077ce16e2ccf2717c6ff1 (diff)
Flush out app stuff, make profiling easier to turn on/off
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/app.h')
-rwxr-xr-xinclude/asterisk/app.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h
index 5dc5fbc51..269980309 100755
--- a/include/asterisk/app.h
+++ b/include/asterisk/app.h
@@ -38,6 +38,7 @@ typedef enum {
AST_ACTION_TRANSFER, /* adata is a string with exten[@context] */
AST_ACTION_WAITOPTION, /* adata is a timeout, or 0 for defaults */
AST_ACTION_NOOP, /* adata is unused */
+ AST_ACTION_BACKLIST, /* adata is list of files separated by ; allows interruption */
} ast_ivr_action;
struct ast_ivr_option {
@@ -62,6 +63,8 @@ struct ast_ivr_menu {
struct ast_ivr_option *options; /* All options */
};
+#define AST_IVR_FLAG_AUTORESTART (1 << 0)
+
#define AST_IVR_DECLARE_MENU(holder,title,flags,foo...) \
static struct ast_ivr_option __options_##holder[] = foo;\
static struct ast_ivr_menu holder = { title, flags, __options_##holder }