mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 04:16:43 +00:00
Merged revisions 120171 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r120171 | tilghman | 2008-06-03 17:05:16 -0500 (Tue, 03 Jun 2008) | 5 lines Move compatibility options into asterisk.conf, default them to on for upgrades, and off for new installations. This includes the translation from pipes to commas for pbx_realtime and the EXEC command for AGI, as well as the change to the Set application not to support multiple variables at once. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -112,6 +112,18 @@ enum ast_option_flags {
|
||||
|
||||
extern struct ast_flags ast_options;
|
||||
|
||||
enum ast_compat_flags {
|
||||
AST_COMPAT_DELIM_PBX_REALTIME = (1 << 0),
|
||||
AST_COMPAT_DELIM_RES_AGI = (1 << 1),
|
||||
AST_COMPAT_APP_SET = (1 << 2),
|
||||
};
|
||||
|
||||
#define ast_compat_pbx_realtime ast_test_flag(&ast_compat, AST_COMPAT_DELIM_PBX_REALTIME)
|
||||
#define ast_compat_res_agi ast_test_flag(&ast_compat, AST_COMPAT_DELIM_RES_AGI)
|
||||
#define ast_compat_app_set ast_test_flag(&ast_compat, AST_COMPAT_APP_SET)
|
||||
|
||||
extern struct ast_flags ast_compat;
|
||||
|
||||
extern int option_verbose;
|
||||
extern int option_maxfiles; /*!< Max number of open file handles (files, sockets) */
|
||||
extern int option_debug; /*!< Debugging */
|
||||
|
||||
Reference in New Issue
Block a user