diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-31 18:45:59 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-04-03 02:13:04 +0200 |
commit | 4d3a66b3f8d39ecf1eefbe44d2bea28698ed8dd5 (patch) | |
tree | 8789a6be41cc342fe075c5123138ec849107d8d2 /include | |
parent | ae73d2b16f8c80afd60d37a8b7d60773c207ee35 (diff) |
cosmetic: rename gsm_subscriber_connection->conn_fsm to ->fi
Match osmo-bsc's naming of the subscriber connection's FSM instance; 'conn->fi'
makes more sense anyway than 'conn->conn_fsm'.
BTW, an upcoming commit will do away with the legacy from libbsc/libmsc duality
and firmly glue the conn allocation to the fi.
Related: OS#3122
Change-Id: If442f2ba78d9722b1065ec30c9a13f372b6a8caa
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/msc/gsm_data.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/osmocom/msc/gsm_data.h b/include/osmocom/msc/gsm_data.h index 1e5d56760..df15eea02 100644 --- a/include/osmocom/msc/gsm_data.h +++ b/include/osmocom/msc/gsm_data.h @@ -75,6 +75,9 @@ struct gsm_subscriber_connection { /* global linked list of subscriber_connections */ struct llist_head entry; + /* FSM instance to control the subscriber connection's permissions and lifetime. */ + struct osmo_fsm_inst *fi; + /* usage count. If this drops to zero, we start the release * towards A/Iu */ uint32_t use_count; @@ -92,8 +95,6 @@ struct gsm_subscriber_connection { /* SMS helpers for libmsc */ uint8_t next_rp_ref; - struct osmo_fsm_inst *conn_fsm; - /* Are we part of a special "silent" call */ int silent_call; |