dahdi-linux/include/dahdi
Shaun Ruffell f02b476fee dahdi: Add functions for determining spantype (E1/T1) to include/dahdi/kernel.h
Uses the linecompat member to determine what type of span it is. This will
allow removing T1/E1 flags from other places where the span type is stored.

This function also changes the return value from bool to int for the
inlines defined in include/dahdi/kernel.h. This is because not all
kernel versions include stdbool.h in the headers and it will conflict
with boolean values that are exported via module parameters on some
older kernels if dahdi included it globally.

Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Michael Spiceland <mspiceland@digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10227 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-10-20 20:51:49 +00:00
..
dahdi_config.h dahdi: Move the default tone lengths into include/dahdi/dahdi_config.h 2011-01-05 15:52:03 +00:00
fasthdlc.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
Kbuild wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
kernel.h dahdi: Add functions for determining spantype (E1/T1) to include/dahdi/kernel.h 2011-10-20 20:51:49 +00:00
user.h Revert "dahdi: Use enumeration for maintenance modes." 2011-06-29 15:32:40 +00:00
wctdm_user.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00