diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-04-25 15:14:01 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-04-29 13:10:37 +0200 |
commit | 842674b8b3d245a2eecb352eb89609ed44cb0832 (patch) | |
tree | 256d66fa38a7abfb7a8bb14a1ad504c4dc70f239 /openbsc/include/openbsc/gprs_utils.h | |
parent | 28903a99eae60cee616901fd3863960b1321ff54 (diff) |
rename gprs_shift_*() to osmo_shift_*()
This rename is the first step of moving the associated functions into
libosmocore.
Also, rename gprs_match_* to osmo_match_shift_* to indicate that it is
not just matching the TLV, but also shifting the data portion.
Diffstat (limited to 'openbsc/include/openbsc/gprs_utils.h')
-rw-r--r-- | openbsc/include/openbsc/gprs_utils.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/openbsc/include/openbsc/gprs_utils.h b/openbsc/include/openbsc/gprs_utils.h index 474eb45da..b5bee2b6a 100644 --- a/openbsc/include/openbsc/gprs_utils.h +++ b/openbsc/include/openbsc/gprs_utils.h @@ -42,15 +42,15 @@ int gprs_is_mi_imsi(const uint8_t *value, size_t value_len); int gprs_parse_mi_tmsi(const uint8_t *value, size_t value_len, uint32_t *tmsi); void gprs_parse_tmsi(const uint8_t *value, uint32_t *tmsi); -int gprs_shift_v_fixed(uint8_t **data, size_t *data_len, +int osmo_shift_v_fixed(uint8_t **data, size_t *data_len, size_t len, uint8_t **value); -int gprs_match_tv_fixed(uint8_t **data, size_t *data_len, - uint8_t tag, size_t len, uint8_t **value); -int gprs_shift_tlv(uint8_t **data, size_t *data_len, +int osmo_match_shift_tv_fixed(uint8_t **data, size_t *data_len, + uint8_t tag, size_t len, uint8_t **value); +int osmo_shift_tlv(uint8_t **data, size_t *data_len, uint8_t *tag, uint8_t **value, size_t *value_len); -int gprs_match_tlv(uint8_t **data, size_t *data_len, +int osmo_match_shift_tlv(uint8_t **data, size_t *data_len, uint8_t tag, uint8_t **value, size_t *value_len); -int gprs_shift_lv(uint8_t **data, size_t *data_len, +int osmo_shift_lv(uint8_t **data, size_t *data_len, uint8_t **value, size_t *value_len); int gprs_ra_id_equals(const struct gprs_ra_id *id1, const struct gprs_ra_id *id2); |