Projects
osmocom:master
libosmocore
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 375
View file
libosmocore.spec
Changed
@@ -14,13 +14,13 @@ Name: libosmocore Requires: osmocom-master -Version: 1.10.0.31.e64d9 +Version: 1.10.0.32.3e69 Release: 0 Summary: The Open Source Mobile Communications Core Library License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later Group: Productivity/Telephony/Utilities Url: https://osmocom.org/projects/libosmocore/wiki/Libosmocore -Source: libosmocore_1.10.0.31.e64d9.tar.xz +Source: libosmocore_1.10.0.32.3e69.tar.xz Source1: rpmlintrc BuildRequires: automake >= 1.6 BuildRequires: libtool >= 2
View file
commit_3e6978b97f9e4dd9d7af060ec7c1b14aec8a63d8.txt
Added
View file
commit_e64d9f1580a442ed578dbeaa83ffd542c2ddaa30.txt
Deleted
View file
libosmocore_1.10.0.31.e64d9.dsc -> libosmocore_1.10.0.32.3e69.dsc
Changed
@@ -2,7 +2,7 @@ Source: libosmocore Binary: libosmocore, libosmocodec4, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore22, libosmocore-doc, libosmogb14, libosmogb-doc, libosmogsm20, libosmogsm-doc, libosmoisdn0, libosmoisdn-doc, libosmovty13, libosmovty-doc, libosmoctrl0, libosmoctrl-doc, libosmosim2, libosmosim-doc, libosmousb0, libosmousb-doc, libosmocore-dev, libosmocore-utils, libosmocore-dbg Architecture: any all -Version: 1.10.0.31.e64d9 +Version: 1.10.0.32.3e69 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/libosmocore Standards-Version: 3.9.8 @@ -35,8 +35,8 @@ libosmovty-doc deb doc optional arch=all libosmovty13 deb libs optional arch=any Checksums-Sha1: - d3743d4d351c1b31720e9fb3d7fccd03fa58d7a6 1122024 libosmocore_1.10.0.31.e64d9.tar.xz + a57c8be95e9a17981cb5e0232af1cc2af1a3ea7d 1122556 libosmocore_1.10.0.32.3e69.tar.xz Checksums-Sha256: - cd0c5af704b980604a7a6597e0d3e13c9912a6cdbfefb9edf57593d85c2a8fc6 1122024 libosmocore_1.10.0.31.e64d9.tar.xz + b831484bf5d653a3ff9707d5278001cb4871a9013f087273edc65c75ee978c98 1122556 libosmocore_1.10.0.32.3e69.tar.xz Files: - 1e072d5eb3d80d40a56ac88094c282a8 1122024 libosmocore_1.10.0.31.e64d9.tar.xz + 4b65efc3d5c5e817bac6151673b514c4 1122556 libosmocore_1.10.0.32.3e69.tar.xz
View file
libosmocore_1.10.0.31.e64d9.tar.xz/.tarball-version -> libosmocore_1.10.0.32.3e69.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.10.0.31-e64d9 +1.10.0.32-3e69
View file
libosmocore_1.10.0.31.e64d9.tar.xz/debian/changelog -> libosmocore_1.10.0.32.3e69.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -libosmocore (1.10.0.31.e64d9) unstable; urgency=medium +libosmocore (1.10.0.32.3e69) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Mon, 18 Nov 2024 17:02:30 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Mon, 18 Nov 2024 23:17:52 +0000 libosmocore (1.10.0) unstable; urgency=medium
View file
libosmocore_1.10.0.31.e64d9.tar.xz/include/osmocom/gsm/gsm23003.h -> libosmocore_1.10.0.32.3e69.tar.xz/include/osmocom/gsm/gsm23003.h
Changed
@@ -167,6 +167,8 @@ int osmo_rai_cmp(const struct osmo_routing_area_id *a, const struct osmo_routing_area_id *b); int osmo_cgi_cmp(const struct osmo_cell_global_id *a, const struct osmo_cell_global_id *b); int osmo_cgi_ps_cmp(const struct osmo_cell_global_id_ps *a, const struct osmo_cell_global_id_ps *b); +int osmo_mme_id_cmp(const struct osmo_mme_id *a, const struct osmo_mme_id *b); +int osmo_gummei_cmp(const struct osmo_gummei *a, const struct osmo_gummei *b); int osmo_gen_home_network_domain(char *out, const struct osmo_plmn_id *plmn); int osmo_parse_home_network_domain(struct osmo_plmn_id *out, const char *in);
View file
libosmocore_1.10.0.31.e64d9.tar.xz/src/gsm/gsm23003.c -> libosmocore_1.10.0.32.3e69.tar.xz/src/gsm/gsm23003.c
Changed
@@ -656,6 +656,40 @@ return 0; } +/* Compare two MME Ids + * The order of comparison is MME GroupId, MME Code. + * \param ain "Left" side MME Id. + * \param bin "Right" side MME Id. + * \returns 0 if the MME Ids are equal, -1 if a < b, 1 if a > b. */ +int osmo_mme_id_cmp(const struct osmo_mme_id *a, const struct osmo_mme_id *b) +{ + if (a->group_id < b->group_id) + return -1; + if (a->group_id > b->group_id) + return 1; + + if (a->code < b->code) + return -1; + if (a->code > b->code) + return 1; + + return 0; +} + +/* Compare two GUMMEI + * The order of comparison is MCC, MNC, MME GroupId, MME Code. + * \param ain "Left" side GUMMEI. + * \param bin "Right" side GUMMEI. + * \returns 0 if the GUMMEI are equal, -1 if a < b, 1 if a > b. */ +int osmo_gummei_cmp(const struct osmo_gummei *a, const struct osmo_gummei *b) +{ + int rc = osmo_plmn_cmp(&a->plmn, &b->plmn); + if (rc) + return rc; + + return osmo_mme_id_cmp(&a->mme, &b->mme); +} + /*! Generate TS 23.003 Section 19.2 Home Network Realm/Domain (text form) * \param outout caller-provided output buffer, at least 33 bytes long * \param plmnin Osmocom representation of PLMN ID (MCC + MNC)
View file
libosmocore_1.10.0.31.e64d9.tar.xz/src/gsm/libosmogsm.map -> libosmocore_1.10.0.32.3e69.tar.xz/src/gsm/libosmogsm.map
Changed
@@ -502,6 +502,8 @@ osmo_gummei_name; osmo_gummei_name_buf; osmo_gummei_name_c; +osmo_gummei_cmp; +osmo_mme_id_cmp; osmo_mnc_from_str; osmo_mnc_cmp; osmo_plmn_cmp;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.