From dcfd456640b6e15f15c94f175eb145220b96ee1a Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Thu, 11 Dec 2014 11:01:46 +0100 Subject: gprs: Move TLV parser functions to gprs_utils.c and rename them Currently the parser functions for single information elements are defined within gprs_gb_parse.c and not exported explicitely. In addition they are named like libosmocore's TLV parser functions and do not have a proper name prefix. Since it is planned to use them for other protocols, they need to be globally accessible. This patch moves them to gprs_utils.c and renames them. The new names are: lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed In the long term, these functions should be moved to libosmocore (and renamed again). Sponsored-by: On-Waves ehf --- openbsc/tests/gbproxy/gbproxy_test.ok | 1 - 1 file changed, 1 deletion(-) (limited to 'openbsc/tests/gbproxy/gbproxy_test.ok') diff --git a/openbsc/tests/gbproxy/gbproxy_test.ok b/openbsc/tests/gbproxy/gbproxy_test.ok index 71a50d0e6..46bbcbd2f 100644 --- a/openbsc/tests/gbproxy/gbproxy_test.ok +++ b/openbsc/tests/gbproxy/gbproxy_test.ok @@ -1,5 +1,4 @@ ===== GbProxy test START -Test shift functions === test_gbproxy === --- Initialise SGSN --- -- cgit v1.2.3