diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-21 17:09:17 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2021-09-23 12:07:29 +0000 |
commit | 37f63f12f766beb1e766075796fec4ae3b912e74 (patch) | |
tree | 5ea81d77f12b901c3e879d7dc45e6671f7100df8 /include | |
parent | 4ddc37ce7140e5ce6ca6cce5aeeefedc0d395d22 (diff) |
bts_shutdown_fsm: Allow configuring FSM to shutdown without exiting process
This feature is not yet used by any bts_shutdown_fsm caller, but will be
used in the future when Abis link goes down.
Change-Id: I5dc282fdbcf862067be326e72b6183dd544222ae
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/bts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h index d3cb6bff..a6014239 100644 --- a/include/osmo-bts/bts.h +++ b/include/osmo-bts/bts.h @@ -368,6 +368,7 @@ struct gsm_bts { } gsmtap; struct osmo_fsm_inst *shutdown_fi; /* FSM instance to manage shutdown procedure during process exit */ + bool shutdown_fi_exit_proc; /* exit process when shutdown_fsm is finished? */ struct osmo_fsm_inst *abis_link_fi; /* FSM instance to manage abis connection during process startup and link failure */ struct osmo_tdef *T_defs; /* Timer defines */ @@ -390,6 +391,7 @@ struct gsm_bts *gsm_bts_num(const struct gsm_network *net, int num); int bts_init(struct gsm_bts *bts); void bts_shutdown(struct gsm_bts *bts, const char *reason); +void bts_shutdown_ext(struct gsm_bts *bts, const char *reason, bool exit_proc); int bts_link_estab(struct gsm_bts *bts); |