From 4e5cdad6586ee714f6e8a6e3f3edfdc2e8181190 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Fri, 12 Feb 2021 22:27:56 +0100 Subject: [PATCH] bssgp_bvc_fsm: Consistent naming bssgp_bvc_get_features_* are fsm "methods" and the name should indicate that just lika all other function names in bssgp_bvc_fsm.h Change-Id: I30fbbe36cdabf9635eaf4dfb1e93c8ce0f667b39 --- include/osmocom/gprs/bssgp_bvc_fsm.h | 6 +++--- src/gb/bssgp_bvc_fsm.c | 6 +++--- src/gb/libosmogb.map | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/osmocom/gprs/bssgp_bvc_fsm.h b/include/osmocom/gprs/bssgp_bvc_fsm.h index 824cdecbc..446dda843 100644 --- a/include/osmocom/gprs/bssgp_bvc_fsm.h +++ b/include/osmocom/gprs/bssgp_bvc_fsm.h @@ -61,9 +61,9 @@ bool bssgp_bvc_fsm_is_unblocked(struct osmo_fsm_inst *fi); uint8_t bssgp_bvc_fsm_get_block_cause(struct osmo_fsm_inst *fi); -uint32_t bssgp_bvc_get_features_advertised(struct osmo_fsm_inst *fi); -uint32_t bssgp_bvc_get_features_received(struct osmo_fsm_inst *fi); -uint32_t bssgp_bvc_get_features_negotiated(struct osmo_fsm_inst *fi); +uint32_t bssgp_bvc_fsm_get_features_advertised(struct osmo_fsm_inst *fi); +uint32_t bssgp_bvc_fsm_get_features_received(struct osmo_fsm_inst *fi); +uint32_t bssgp_bvc_fsm_get_features_negotiated(struct osmo_fsm_inst *fi); void bssgp_bvc_fsm_set_max_pdu_len(struct osmo_fsm_inst *fi, uint16_t max_pdu_len); uint16_t bssgp_bvc_fsm_get_max_pdu_len(const struct osmo_fsm_inst *fi); \ No newline at end of file diff --git a/src/gb/bssgp_bvc_fsm.c b/src/gb/bssgp_bvc_fsm.c index a03593868..8d284d1ac 100644 --- a/src/gb/bssgp_bvc_fsm.c +++ b/src/gb/bssgp_bvc_fsm.c @@ -794,7 +794,7 @@ uint8_t bssgp_bvc_fsm_get_block_cause(struct osmo_fsm_inst *fi) } /*! Return the advertised features / extended features. */ -uint32_t bssgp_bvc_get_features_advertised(struct osmo_fsm_inst *fi) +uint32_t bssgp_bvc_fsm_get_features_advertised(struct osmo_fsm_inst *fi) { struct bvc_fsm_priv *bfp = fi->priv; @@ -803,7 +803,7 @@ uint32_t bssgp_bvc_get_features_advertised(struct osmo_fsm_inst *fi) } /*! Return the received features / extended features. */ -uint32_t bssgp_bvc_get_features_received(struct osmo_fsm_inst *fi) +uint32_t bssgp_bvc_fsm_get_features_received(struct osmo_fsm_inst *fi) { struct bvc_fsm_priv *bfp = fi->priv; @@ -812,7 +812,7 @@ uint32_t bssgp_bvc_get_features_received(struct osmo_fsm_inst *fi) } /*! Return the negotiated features / extended features. */ -uint32_t bssgp_bvc_get_features_negotiated(struct osmo_fsm_inst *fi) +uint32_t bssgp_bvc_fsm_get_features_negotiated(struct osmo_fsm_inst *fi) { struct bvc_fsm_priv *bfp = fi->priv; diff --git a/src/gb/libosmogb.map b/src/gb/libosmogb.map index 232781539..699ed1be0 100644 --- a/src/gb/libosmogb.map +++ b/src/gb/libosmogb.map @@ -93,9 +93,9 @@ bssgp_bvc_fsm_alloc_ptp_sgsn; bssgp_bvc_fsm_set_ops; bssgp_bvc_fsm_is_unblocked; bssgp_bvc_fsm_get_block_cause; -bssgp_bvc_get_features_advertised; -bssgp_bvc_get_features_received; -bssgp_bvc_get_features_negotiated; +bssgp_bvc_fsm_get_features_advertised; +bssgp_bvc_fsm_get_features_received; +bssgp_bvc_fsm_get_features_negotiated; bssgp_bvc_fsm_set_max_pdu_len; bssgp_bvc_fsm_get_max_pdu_len;