diff options
author | Russ Meyerriecks <rmeyerreicks@digium.com> | 2010-11-19 17:34:31 +0000 |
---|---|---|
committer | Russ Meyerriecks <rmeyerreicks@digium.com> | 2010-11-19 17:34:31 +0000 |
commit | 5e08e15febc3408e482a366a856823008012e687 (patch) | |
tree | a2a978b7f795babe6ce4186c19ab601dc2127842 /include/dahdi/kernel.h | |
parent | 2065c62fa761e103fde58b2535eb652f08c8d5e1 (diff) |
dahdi: Moved the channel mirroring interface behind a build flag
It can now be enabled by un-commenting the CONFIG_DAHDI_MIRROR define in
include/dahdi/dahdi_config.h
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
Acked-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9492 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include/dahdi/kernel.h')
-rw-r--r-- | include/dahdi/kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index e1c8927..d7b5ba1 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -444,9 +444,11 @@ struct dahdi_chan { struct file *file; /*!< File structure */ +#ifdef CONFIG_DAHDI_MIRROR struct dahdi_chan *rxmirror; /*!< channel we mirror reads to */ struct dahdi_chan *txmirror; /*!< channel we mirror writes to */ struct dahdi_chan *srcmirror; /*!< channel we mirror from */ +#endif /* CONFIG_DAHDI_MIRROR */ struct dahdi_span *span; /*!< Span we're a member of */ int sig; /*!< Signalling */ int sigcap; /*!< Capability for signalling */ |