diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-08-08 15:32:33 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2022-08-09 08:38:51 +0000 |
commit | ba62898cd8f20766e49f09f51d3b4be9a61e98c8 (patch) | |
tree | 165ef5a3239e982e3aae82976693c510a12a8e2b /include | |
parent | 3d0fbe387f629a5874e93c5ae68e541ed0a6a86f (diff) |
lchan: Move init logic to a specific function
This way it is a lot easier to find out how and when is an lchan
initialized, simply by looking at the lchan.h header, then seeing the
init function and grepping for it.
Change-Id: I043d1c2ee75d4d2a8b323b7960ee490e567f3865
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/lchan.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/bsc/lchan.h b/include/osmocom/bsc/lchan.h index 4a4634c63..a6048c26b 100644 --- a/include/osmocom/bsc/lchan.h +++ b/include/osmocom/bsc/lchan.h @@ -356,6 +356,8 @@ struct gsm_lchan { #define GSM_LCHAN_SI(lchan, i) (void *)((lchan)->si.buf[i][0]) +void lchan_init(struct gsm_lchan *lchan, struct gsm_bts_trx_ts *ts, unsigned int nr); + void lchan_update_name(struct gsm_lchan *lchan); uint64_t gsm_lchan_active_duration_ms(const struct gsm_lchan *lchan); |