summaryrefslogtreecommitdiff
path: root/include/dahdi/kernel.h
diff options
context:
space:
mode:
authorOron Peled <oron.peled@xorcom.com>2011-05-23 20:50:37 +0300
committerOron Peled <oron.peled@xorcom.com>2011-05-23 20:50:37 +0300
commitc1bfbb8b354dac1fb9c2c02e6592c0fc4efb75b5 (patch)
tree4443982fc45eaf06c6e94f78393a85addf557bfe /include/dahdi/kernel.h
parente894536f5e73b741bd55dfe53e864df93532c271 (diff)
add "span_id" dahdi_span attribute. Calculated during device registration.sysfs
Diffstat (limited to 'include/dahdi/kernel.h')
-rw-r--r--include/dahdi/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index 2ca5acf..cf4029f 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -908,6 +908,7 @@ struct dahdi_span {
char name[40]; /*!< Span name */
char desc[80]; /*!< Span description */
const char *spantype; /*!< span type in text form */
+ int span_idx; /*!< span index in its span_device */
int deflaw; /*!< Default law (DAHDI_MULAW or DAHDI_ALAW) */
int alarms; /*!< Pending alarms on span */
unsigned long flags;