Projects
osmocom:master
libosmocore
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 182
View file
libosmocore.spec
Changed
@@ -14,13 +14,13 @@ Name: libosmocore Requires: osmocom-master -Version: 1.8.0.194.8b7e +Version: 1.8.0.195.e2a8 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.8.0.194.8b7e.tar.xz +Source: libosmocore_1.8.0.195.e2a8.tar.xz Source1: rpmlintrc BuildRequires: automake >= 1.6 BuildRequires: libtool >= 2
View file
commit_8b7e7f164f1a31e6c3e60f979e766618b741f43c.txt
Deleted
View file
commit_e2a8dc4131da35c200252697eaf437a467696fc5.txt
Added
View file
libosmocore_1.8.0.194.8b7e.dsc
Deleted
@@ -1,42 +0,0 @@ -Format: 3.0 (native) -Source: libosmocore -Binary: libosmocore, libosmocodec0, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore20, libosmocore-doc, libosmogb14, libosmogb-doc, libosmogsm18, libosmogsm-doc, libosmoisdn0, libosmoisdn-doc, libosmovty9, libosmovty-doc, libosmoctrl0, libosmoctrl-doc, libosmosim2, libosmosim-doc, libosmousb0, libosmousb-doc, libosmocore-dev, libosmocore-utils, libosmocore-dbg -Architecture: any all -Version: 1.8.0.194.8b7e -Maintainer: Osmocom team <openbsc@lists.osmocom.org> -Homepage: https://projects.osmocom.org/projects/libosmocore -Standards-Version: 3.9.8 -Vcs-Browser: https://gitea.osmocom.org/osmocom/libosmocore -Vcs-Git: https://gitea.osmocom.org/osmocom/libosmocore -Build-Depends: debhelper (>= 10), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, libgnutls28-dev, doxygen, libpcsclite-dev, pkg-config, libtalloc-dev (>= 2.1.0), libsctp-dev, libusb-1.0-0-dev, libmnl-dev, libsystemd-dev, python3:native -Package-List: - libosmocodec-doc deb doc optional arch=all - libosmocodec0 deb libs optional arch=any - libosmocoding-doc deb doc optional arch=all - libosmocoding0 deb libs optional arch=any - libosmocore deb libs optional arch=any - libosmocore-dbg deb debug extra arch=any - libosmocore-dev deb libdevel optional arch=any - libosmocore-doc deb doc optional arch=all - libosmocore-utils deb utils optional arch=any - libosmocore20 deb libs optional arch=any - libosmoctrl-doc deb doc optional arch=all - libosmoctrl0 deb libs optional arch=any - libosmogb-doc deb doc optional arch=all - libosmogb14 deb libs optional arch=any - libosmogsm-doc deb doc optional arch=all - libosmogsm18 deb libs optional arch=any - libosmoisdn-doc deb doc optional arch=all - libosmoisdn0 deb libs optional arch=any - libosmosim-doc deb doc optional arch=all - libosmosim2 deb libs optional arch=any - libosmousb-doc deb doc optional arch=all - libosmousb0 deb libs optional arch=any - libosmovty-doc deb doc optional arch=all - libosmovty9 deb libs optional arch=any -Checksums-Sha1: - 2b0a36ca80d3927e2c96163891dfd6080928c1ad 1063188 libosmocore_1.8.0.194.8b7e.tar.xz -Checksums-Sha256: - c485893db416d2c3e34c5659bfbf39c37055c7a40948a2116ed530a673108379 1063188 libosmocore_1.8.0.194.8b7e.tar.xz -Files: - 7e4eb7cb98a499ef21a2780301f65882 1063188 libosmocore_1.8.0.194.8b7e.tar.xz
View file
libosmocore_1.8.0.195.e2a8.dsc
Added
@@ -0,0 +1,42 @@ +Format: 3.0 (native) +Source: libosmocore +Binary: libosmocore, libosmocodec0, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore20, libosmocore-doc, libosmogb14, libosmogb-doc, libosmogsm18, libosmogsm-doc, libosmoisdn0, libosmoisdn-doc, libosmovty9, libosmovty-doc, libosmoctrl0, libosmoctrl-doc, libosmosim2, libosmosim-doc, libosmousb0, libosmousb-doc, libosmocore-dev, libosmocore-utils, libosmocore-dbg +Architecture: any all +Version: 1.8.0.195.e2a8 +Maintainer: Osmocom team <openbsc@lists.osmocom.org> +Homepage: https://projects.osmocom.org/projects/libosmocore +Standards-Version: 3.9.8 +Vcs-Browser: https://gitea.osmocom.org/osmocom/libosmocore +Vcs-Git: https://gitea.osmocom.org/osmocom/libosmocore +Build-Depends: debhelper (>= 10), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, libgnutls28-dev, doxygen, libpcsclite-dev, pkg-config, libtalloc-dev (>= 2.1.0), libsctp-dev, libusb-1.0-0-dev, libmnl-dev, libsystemd-dev, python3:native +Package-List: + libosmocodec-doc deb doc optional arch=all + libosmocodec0 deb libs optional arch=any + libosmocoding-doc deb doc optional arch=all + libosmocoding0 deb libs optional arch=any + libosmocore deb libs optional arch=any + libosmocore-dbg deb debug extra arch=any + libosmocore-dev deb libdevel optional arch=any + libosmocore-doc deb doc optional arch=all + libosmocore-utils deb utils optional arch=any + libosmocore20 deb libs optional arch=any + libosmoctrl-doc deb doc optional arch=all + libosmoctrl0 deb libs optional arch=any + libosmogb-doc deb doc optional arch=all + libosmogb14 deb libs optional arch=any + libosmogsm-doc deb doc optional arch=all + libosmogsm18 deb libs optional arch=any + libosmoisdn-doc deb doc optional arch=all + libosmoisdn0 deb libs optional arch=any + libosmosim-doc deb doc optional arch=all + libosmosim2 deb libs optional arch=any + libosmousb-doc deb doc optional arch=all + libosmousb0 deb libs optional arch=any + libosmovty-doc deb doc optional arch=all + libosmovty9 deb libs optional arch=any +Checksums-Sha1: + 8df9a0a83953d3d12ea838d08cf7b0d1071f1d92 1064756 libosmocore_1.8.0.195.e2a8.tar.xz +Checksums-Sha256: + 15526af1e0e6bbbe2ad3dc462079fbd1c02e23861bae5edfb6ac67782a9127ed 1064756 libosmocore_1.8.0.195.e2a8.tar.xz +Files: + 5237996789e9f9485bd9f0839bacf5d9 1064756 libosmocore_1.8.0.195.e2a8.tar.xz
View file
libosmocore_1.8.0.194.8b7e.tar.xz/.tarball-version -> libosmocore_1.8.0.195.e2a8.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.8.0.194-8b7e +1.8.0.195-e2a8
View file
libosmocore_1.8.0.194.8b7e.tar.xz/debian/changelog -> libosmocore_1.8.0.195.e2a8.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -libosmocore (1.8.0.194.8b7e) unstable; urgency=medium +libosmocore (1.8.0.195.e2a8) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Fri, 30 Jun 2023 19:47:24 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Mon, 03 Jul 2023 09:12:26 +0000 libosmocore (1.8.0) unstable; urgency=medium
View file
libosmocore_1.8.0.194.8b7e.tar.xz/include/osmocom/core/osmo_io.h -> libosmocore_1.8.0.195.e2a8.tar.xz/include/osmocom/core/osmo_io.h
Changed
@@ -75,6 +75,8 @@ int osmo_iofd_close(struct osmo_io_fd *iofd); void osmo_iofd_free(struct osmo_io_fd *iofd); +void osmo_iofd_notify_connected(struct osmo_io_fd *iofd); + int osmo_iofd_write_msgb(struct osmo_io_fd *iofd, struct msgb *msg); int osmo_iofd_sendto_msgb(struct osmo_io_fd *iofd, struct msgb *msg, int sendto_flags, const struct osmo_sockaddr *dest);
View file
libosmocore_1.8.0.194.8b7e.tar.xz/src/core/libosmocore.map -> libosmocore_1.8.0.195.e2a8.tar.xz/src/core/libosmocore.map
Changed
@@ -273,6 +273,7 @@ osmo_iofd_txqueue_len; osmo_iofd_unregister; osmo_iofd_uring_init; +osmo_iofd_notify_connected; osmo_iofd_write_msgb; osmo_ip_str_type; osmo_isdnhdlc_decode;
View file
libosmocore_1.8.0.194.8b7e.tar.xz/src/core/osmo_io.c -> libosmocore_1.8.0.195.e2a8.tar.xz/src/core/osmo_io.c
Changed
@@ -433,7 +433,9 @@ IOFD_FLAG_UNSET(iofd, IOFD_FLAG_CLOSED); osmo_iofd_ops.read_enable(iofd); - osmo_iofd_ops.write_enable(iofd); + + if (iofd->tx_queue.current_length > 0) + osmo_iofd_ops.write_enable(iofd); return rc; } @@ -603,4 +605,14 @@ iofd->io_ops = *ioops; } +/*! Notify the user if/when the socket is connected + * When the socket is connected the write_cb will be called. + * \paramin iofd the file descriptor */ +void osmo_iofd_notify_connected(struct osmo_io_fd *iofd) +{ + OSMO_ASSERT(iofd->mode == OSMO_IO_FD_MODE_READ_WRITE); + osmo_iofd_ops.write_enable(iofd); +} + + #endif /* defined(__linux__) */
View file
libosmocore_1.8.0.194.8b7e.tar.xz/tests/osmo_io/osmo_io_test.c -> libosmocore_1.8.0.195.e2a8.tar.xz/tests/osmo_io/osmo_io_test.c
Changed
@@ -86,6 +86,8 @@ osmo_iofd_register(iofd1, fds0); iofd2 = osmo_iofd_setup(ctx, fds1, "ep2", OSMO_IO_FD_MODE_READ_WRITE, &ioops_conn_read_write, NULL); osmo_iofd_register(iofd2, fds1); + // Explicitly check if ep1 is connected through write_cb + osmo_iofd_notify_connected(iofd1); /* Allow enough cycles to handle the messages */ for (int i = 0; i < 128; i++)
View file
libosmocore_1.8.0.194.8b7e.tar.xz/tests/osmo_io/osmo_io_test.ok -> libosmocore_1.8.0.195.e2a8.tar.xz/tests/osmo_io/osmo_io_test.ok
Changed
@@ -1,10 +1,6 @@ Running test_connected ep1: write() returned rc=0 -ep2: write() returned rc=0 ep1: write() returned rc=16 -ep2: write() returned rc=16 -ep1: read() msg with len=16 -01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 ep2: read() msg with len=16 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 Running test_unconnected
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
.