summaryrefslogtreecommitdiff
path: root/zaptel.h
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-05-11 23:43:11 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-05-11 23:43:11 +0000
commit3957d619bb756563a03b3d15b9bffec5239dac19 (patch)
treea9fbeabe0fa07864461f2d753de4c9dee84218a2 /zaptel.h
parent0afdce07bf03c4ef19cd6754a7e6d8e2785e5e03 (diff)
Add support for polarity reversal
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@641 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.h')
-rwxr-xr-xzaptel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/zaptel.h b/zaptel.h
index 175279f..ff3d06b 100755
--- a/zaptel.h
+++ b/zaptel.h
@@ -623,6 +623,12 @@ void *data;
*/
#define ZT_TONEDETECT _IOW (ZT_CODE, 91, int)
+
+/*
+ * Set polarity -- implemented by individual driver. 0 = forward, 1 = reverse
+ */
+#define ZT_SETPOLARITY _IOW (ZT_CODE, 92, int)
+
/*
* Startup or Shutdown a span
*/