summaryrefslogtreecommitdiff
path: root/include/dahdi/user.h
diff options
context:
space:
mode:
authorRuss Meyerriecks <rmeyerreicks@digium.com>2010-11-19 17:34:31 +0000
committerRuss Meyerriecks <rmeyerreicks@digium.com>2010-11-19 17:34:31 +0000
commit5e08e15febc3408e482a366a856823008012e687 (patch)
treea2a978b7f795babe6ce4186c19ab601dc2127842 /include/dahdi/user.h
parent2065c62fa761e103fde58b2535eb652f08c8d5e1 (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/user.h')
-rw-r--r--include/dahdi/user.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dahdi/user.h b/include/dahdi/user.h
index fe4be66..e743cad 100644
--- a/include/dahdi/user.h
+++ b/include/dahdi/user.h
@@ -37,6 +37,7 @@
#include <linux/types.h>
#include <linux/ioctl.h>
+#include <dahdi/dahdi_config.h>
#ifndef ELAST
#define ELAST 500
@@ -1079,8 +1080,10 @@ struct dahdi_vmwi_info {
/*
* Defines which channel to receive mirrored traffic from
*/
+#ifdef CONFIG_DAHDI_MIRROR
#define DAHDI_RXMIRROR _IOW(DAHDI_CODE, 103, int)
#define DAHDI_TXMIRROR _IOW(DAHDI_CODE, 104, int)
+#endif /* CONFIG_DAHDI_MIRROR */
/* Get current status IOCTL */
/* Defines for Radio Status (dahdi_radio_stat.radstat) bits */