diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-23 19:39:47 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-23 19:39:47 +0000 |
commit | 69b8561975b4ad4220bba79e25eb746e9893df2e (patch) | |
tree | d8392832fa74bacc5141084bbea5321b4bade278 /include | |
parent | 16cfb7953f215a1299b3933fb4d38895017cb0d2 (diff) |
As suggested by seanbright, the PSEUDO_CHAN_LEN in
app_chanspy should be set at load time, not at compile
time, since dahdi_chan_name is determined at load time.
Also changed the next_unique_id_to_use to have the
static qualifier.
Also added the dahdi_chan_name_len variable so that
strlen(dahdi_chan_name) isn't necessary. Thanks to
seanbright for the suggestion.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@133169 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 10c2126c2..89f01f58b 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -123,6 +123,7 @@ 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 { CHAN_ZAP_MODE, CHAN_DAHDI_PLUS_ZAP_MODE, |