diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-03-30 21:29:39 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-03-30 21:29:39 +0000 |
commit | 6c232811c0bf80366955a6bcfb0f7619c4d65717 (patch) | |
tree | 19e1a3bfe72426fb7dbb848341e68fd087e1fcbd /include/asterisk/channel.h | |
parent | c6d1bfbb31696458618c7fca0ba42cfedbd3f354 (diff) |
as discussed with Mark a few weeks ago, the 'newstack' argument
in pbx_exec is always 1 so it can be removed.
This change also takes away ast_exec_extension(), and lets all
switch functions (exists, canmatch, exec, matchmore) all use the same
prototype, which makes the code a bit cleaner.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 9cdc280ac..9fcc4b133 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -317,10 +317,8 @@ struct ast_channel { /*! Procedure causing blocking */ const char *blockproc; - /*! Current application */ - char *appl; - /*! Data passed to current application */ - char *data; + const char *appl; /*! Current application */ + const char *data; /*! Data passed to current application */ /*! Which fd had an event detected on */ int fdno; |