From 22c8d7c0cf228dec7ccc38348ab8e6c77c492bc6 Mon Sep 17 00:00:00 2001 From: Doug Bailey Date: Tue, 27 Jan 2009 15:13:52 +0000 Subject: 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 --- include/dahdi/user.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/dahdi/user.h') 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 -- cgit v1.2.3