aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/lchan_select.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/bsc/lchan_select.h')
-rw-r--r--include/osmocom/bsc/lchan_select.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/bsc/lchan_select.h b/include/osmocom/bsc/lchan_select.h
new file mode 100644
index 0000000..4aecdf6
--- /dev/null
+++ b/include/osmocom/bsc/lchan_select.h
@@ -0,0 +1,6 @@
+/* Select a suitable lchan from a given cell. */
+#pragma once
+
+struct gsm_lchan *lchan_select_by_type(struct gsm_bts *bts, enum gsm_chan_t type);
+struct gsm_lchan *lchan_select_by_chan_mode(struct gsm_bts *bts,
+ enum gsm48_chan_mode chan_mode, bool full_rate);