summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDoug Bailey <dbailey@digium.com>2009-01-27 15:13:52 +0000
committerDoug Bailey <dbailey@digium.com>2009-01-27 15:13:52 +0000
commit22c8d7c0cf228dec7ccc38348ab8e6c77c492bc6 (patch)
treeaf16d0d84a80f19db1ef87a6e2a5a3ec0e124106 /include
parentb19785437da38b006e18c54cfe03e3930f0ea19c (diff)
Break VMWI ioctl calls into two separate calls to maintain old revision compatibility
(issue #14104) Reported by: alecdavis Tested by: dbailey git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5826 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/user.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/dahdi/user.h b/include/dahdi/user.h
index 8a06f5f..c6cbed3 100644
--- a/include/dahdi/user.h
+++ b/include/dahdi/user.h
@@ -970,8 +970,7 @@ struct dahdi_hwgain {
* VMWI Specification
*/
struct dahdi_vmwi_info {
- unsigned int messages; /* Number of messages pending */
- unsigned int vmwi_type;
+ unsigned int vmwi_type;
};
#define DAHDI_VMWI_LREV (1 << 0) /* Line Reversal */
@@ -982,7 +981,8 @@ struct dahdi_vmwi_info {
* VoiceMail Waiting Indication (VMWI) -- implemented by low-level driver.
* Value: number of waiting messages (hence 0: switch messages off).
*/
-#define DAHDI_VMWI _IOWR(DAHDI_CODE, 94, struct dahdi_vmwi_info)
+#define DAHDI_VMWI _IOWR(DAHDI_CODE, 94, int)
+#define DAHDI_VMWI_CONFIG _IOW(DAHDI_CODE, 95, struct dahdi_vmwi_info)
/*
* Startup or Shutdown a span