aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-23 20:42:30 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-23 20:42:30 +0000
commit8ec1a1b17cbd659efff717d65267cd0c055d19f9 (patch)
treed1921955cd0d82c5d4d7ee8e54d46a601d82725d /include
parent69b8561975b4ad4220bba79e25eb746e9893df2e (diff)
make some more changes to the dahdi/zap channel name support stuff to ensure allthe globals are 'const', and clean up mmichelson's changes to app_chanspy to simplify the code
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@133226 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/options.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h
index 89f01f58b..01eab6e29 100644
--- a/include/asterisk/options.h
+++ b/include/asterisk/options.h
@@ -123,11 +123,11 @@ extern pid_t ast_mainpid;
extern char record_cache_dir[AST_CACHE_DIR_LEN];
extern char debug_filename[AST_FILENAME_MAX];
extern const char *dahdi_chan_name;
-extern int dahdi_chan_name_len;
-extern enum dahdi_chan_modes {
+extern const size_t *dahdi_chan_name_len;
+extern const enum dahdi_chan_modes {
CHAN_ZAP_MODE,
CHAN_DAHDI_PLUS_ZAP_MODE,
-} dahdi_chan_mode;
+} *dahdi_chan_mode;
extern int ast_language_is_prefix;