diff options
author | David M. Lee <dlee@digium.com> | 2013-08-05 14:35:00 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-08-05 14:35:00 +0000 |
commit | 357b275239d2e461cd2a3dbaf4d091932824abd4 (patch) | |
tree | 05e5ad41026a3aebbf79921382c36379eb143382 /include/asterisk/options.h | |
parent | 2977846f0ab80df788e8d4729d96e560368faaa2 (diff) |
Fix res_ari_asterisk load issue
The new res_ari_asterisk.so module presents several config options
from asterisk main. Unfortunately, they aren't exported, so the module
won't load on Linux.
This patch renames the variables, adding the ast_ prefix so they will
be exported.
Review: https://reviewboard.asterisk.org/r/2737
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/options.h')
-rw-r--r-- | include/asterisk/options.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 73fa42bce..2761415b8 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -154,15 +154,15 @@ enum ast_compat_flags { extern struct ast_flags ast_compat; extern int option_verbose; -extern int option_maxfiles; /*!< Max number of open file handles (files, sockets) */ +extern int ast_option_maxfiles; /*!< Max number of open file handles (files, sockets) */ extern int option_debug; /*!< Debugging */ -extern int option_maxcalls; /*!< Maximum number of simultaneous channels */ +extern int ast_option_maxcalls; /*!< Maximum number of simultaneous channels */ extern unsigned int option_dtmfminduration; /*!< Minimum duration of DTMF (channel.c) in ms */ -extern double option_maxload; +extern double ast_option_maxload; #if defined(HAVE_SYSINFO) extern long option_minmemfree; /*!< Minimum amount of free system memory - stop accepting calls if free memory falls below this watermark */ #endif -extern char defaultlanguage[]; +extern char ast_defaultlanguage[]; extern struct timeval ast_startuptime; extern struct timeval ast_lastreloadtime; |