summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index b4df850..18f5319 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -891,6 +891,10 @@ struct dahdi_span_ops {
/*! When using "pinned_spans", this function is called back when this
* span has been assigned with the system. */
void (*assigned)(struct dahdi_span *span);
+
+ /*! Called when the spantype / linemode is changed before the span is
+ * assigned a number. */
+ int (*set_spantype)(struct dahdi_span *span, const char *spantype);
};
/**