summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-07-10 23:49:57 +0000
committerRussell Bryant <russell@russellbryant.com>2005-07-10 23:49:57 +0000
commit4c531ca8c0c9e88a12c011b59085184f72087e59 (patch)
tree4db59d5d09ba10d210876efd1cab834c716be5b0 /include
parentc18fd5cd8c1b6e582915d920d0831441505c30fc (diff)
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/channel.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 9380d7884..49a73420e 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -36,20 +36,21 @@ extern "C" {
#include "asterisk/lock.h"
/*! Max length of an extension */
-#define AST_MAX_EXTENSION 80
+#define AST_MAX_EXTENSION 80
+
+#define AST_MAX_CONTEXT 80
#include "asterisk/cdr.h"
#include "asterisk/monitor.h"
#include "asterisk/utils.h"
+#define AST_CHANNEL_NAME 80
-#define AST_CHANNEL_NAME 80
-
-#define MAX_LANGUAGE 20
+#define MAX_LANGUAGE 20
-#define MAX_MUSICCLASS 20
+#define MAX_MUSICCLASS 20
-#define AST_MAX_FDS 8
+#define AST_MAX_FDS 8
typedef unsigned long long ast_group_t;
@@ -256,9 +257,9 @@ struct ast_channel {
struct ast_callerid cid;
/*! Current extension context */
- char context[AST_MAX_EXTENSION];
+ char context[AST_MAX_CONTEXT];
/*! Current non-macro context */
- char macrocontext[AST_MAX_EXTENSION];
+ char macrocontext[AST_MAX_CONTEXT];
/*! Current non-macro extension */
char macroexten[AST_MAX_EXTENSION];
/*! Current non-macro priority */