summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-01-03 18:27:53 +0000
committerShaun Ruffell <sruffell@digium.com>2011-01-03 18:27:53 +0000
commit2b5d8801af27a1ffa8229ae5707f5ce6f536f595 (patch)
treead53f04ebe0b9be8f8a87ac3685a540b00eda4ca /include
parent0ff2f222e549212012256c00eaa214618c62c753 (diff)
dahdi: Save pointer to monitored channel in struct dahdi_chan.
When we're in monitor mode, we can save a pointer to the channel we are monitoring directly instead of dereferencing the 'chans' array each time. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9604 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index 9f74d89..6a069b5 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -517,6 +517,7 @@ struct dahdi_chan {
int _confn; /*! Actual conference number */
int confmode; /*! conference mode */
int confmute; /*! conference mute mode */
+ struct dahdi_chan *conf_chan;
/* Incoming and outgoing conference chunk queues for
communicating between DAHDI master time and