diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2021-02-12 22:27:56 +0100 |
---|---|---|
committer | Daniel Willmann <dwillmann@sysmocom.de> | 2021-02-12 22:27:56 +0100 |
commit | 4e5cdad6586ee714f6e8a6e3f3edfdc2e8181190 (patch) | |
tree | f19e019c77c30c6988e851ae20cbe990d9aa6409 | |
parent | fa632b8e80edad72b4413aac6886030c806929b9 (diff) |
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
-rw-r--r-- | include/osmocom/gprs/bssgp_bvc_fsm.h | 6 | ||||
-rw-r--r-- | src/gb/bssgp_bvc_fsm.c | 6 | ||||
-rw-r--r-- | 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 824cdecb..446dda84 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 a0359386..8d284d1a 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 23278153..699ed1be 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; |