mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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 }
|
||||
|
Reference in New Issue
Block a user