diff options
author | Doug Bailey <dbailey@digium.com> | 2009-01-19 18:18:12 +0000 |
---|---|---|
committer | Doug Bailey <dbailey@digium.com> | 2009-01-19 18:18:12 +0000 |
commit | 165680e91300531d30deb3319ec9376d372b5d4a (patch) | |
tree | ed46b9e23b51fbf74d3f4900bf2e407720d03d41 /include | |
parent | 18206962fec77d303798d9756f47369de84868c5 (diff) |
Add mask for portion of DAHDI_VMWI ioctl call that carries the number of messages pending.
Remove magic number from code.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5746 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r-- | include/dahdi/user.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dahdi/user.h b/include/dahdi/user.h index db79fbf..c7b45c2 100644 --- a/include/dahdi/user.h +++ b/include/dahdi/user.h @@ -972,6 +972,7 @@ struct dahdi_hwgain { */ #define DAHDI_VMWI _IOWR(DAHDI_CODE, 94, int) +#define DAHDI_VMWI_NUMBER_MASK (0xffff) /* Number of messages pending for VMWI */ #define DAHDI_VMWI_FSK (1 << 16) /* default FSK, no Ring Pulse Alert Signal*/ #define DAHDI_VMWI_RPAS (1 << 17) /* Ring Pulse Alert Signal then FSK */ #define DAHDI_VMWI_LREV (1 << 18) /* Line Reversal */ |