Projects
osmocom:master
libosmo-netif
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 92
View file
libosmo-netif.spec
Changed
@@ -14,13 +14,13 @@ Name: libosmo-netif Requires: osmocom-master -Version: 1.4.0.45.9ea3 +Version: 1.4.0.46.34a6 Release: 0 Summary: Osmocom library for muxed audio License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities URL: https://osmocom.org/projects/libosmo-netif -Source: libosmo-netif_1.4.0.45.9ea3.tar.xz +Source: libosmo-netif_1.4.0.46.34a6.tar.xz Source1: rpmlintrc BuildRequires: automake BuildRequires: libtool >= 2
View file
commit_34a657d1e1fd29241a1b910fb3ec8d1d8a0b03ff.txt
Added
View file
commit_9ea35aea67ec0b4356d8e3ca071a94454d900f02.txt
Deleted
View file
libosmo-netif_1.4.0.45.9ea3.dsc -> libosmo-netif_1.4.0.46.34a6.dsc
Changed
@@ -2,7 +2,7 @@ Source: libosmo-netif Binary: libosmonetif11, libosmo-netif-dev, libosmo-netif-doc, libosmo-netif-dbg Architecture: any all -Version: 1.4.0.45.9ea3 +Version: 1.4.0.46.34a6 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/libosmo-netif Standards-Version: 3.9.6 @@ -15,8 +15,8 @@ libosmo-netif-doc deb doc optional arch=all libosmonetif11 deb libs optional arch=any Checksums-Sha1: - a3ab1ab4f9b9a89df2b551c25b00cc569e8173c2 193132 libosmo-netif_1.4.0.45.9ea3.tar.xz + 5fa33668c261d98221271914a24343c17a5b0bc7 194416 libosmo-netif_1.4.0.46.34a6.tar.xz Checksums-Sha256: - 731388fe872d7a25d4a380f4e7f2200596d1e070ac3ea8228ab6a08fb43948a4 193132 libosmo-netif_1.4.0.45.9ea3.tar.xz + c4d436125e70219ceab0dc26b01d54422695f19b4292350c314fc0895b396c9e 194416 libosmo-netif_1.4.0.46.34a6.tar.xz Files: - f4d28557671489c873c75d63ddd0e89e 193132 libosmo-netif_1.4.0.45.9ea3.tar.xz + cb458615bde9e9440abe1bf1d6337724 194416 libosmo-netif_1.4.0.46.34a6.tar.xz
View file
libosmo-netif_1.4.0.45.9ea3.tar.xz/.tarball-version -> libosmo-netif_1.4.0.46.34a6.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.4.0.45-9ea3 +1.4.0.46-34a6
View file
libosmo-netif_1.4.0.45.9ea3.tar.xz/debian/changelog -> libosmo-netif_1.4.0.46.34a6.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -libosmo-netif (1.4.0.45.9ea3) unstable; urgency=medium +libosmo-netif (1.4.0.46.34a6) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Sat, 16 Mar 2024 11:09:13 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Sun, 17 Mar 2024 17:46:16 +0000 libosmo-netif (1.4.0) unstable; urgency=medium
View file
libosmo-netif_1.4.0.45.9ea3.tar.xz/include/osmocom/netif/stream.h -> libosmo-netif_1.4.0.46.34a6.tar.xz/include/osmocom/netif/stream.h
Changed
@@ -109,6 +109,7 @@ const char *osmo_stream_srv_get_sockname(const struct osmo_stream_srv *conn); struct osmo_fd *osmo_stream_srv_get_ofd(struct osmo_stream_srv *srv); int osmo_stream_srv_get_fd(const struct osmo_stream_srv *srv); +struct osmo_io_fd *osmo_stream_srv_get_iofd(const struct osmo_stream_srv *srv); void osmo_stream_srv_destroy(struct osmo_stream_srv *conn); void osmo_stream_srv_set_flush_and_destroy(struct osmo_stream_srv *conn); @@ -177,6 +178,7 @@ char *osmo_stream_cli_get_sockname(const struct osmo_stream_cli *cli); struct osmo_fd *osmo_stream_cli_get_ofd(struct osmo_stream_cli *cli); int osmo_stream_cli_get_fd(const struct osmo_stream_cli *cli); +struct osmo_io_fd *osmo_stream_cli_get_iofd(const struct osmo_stream_cli *cli); void osmo_stream_cli_set_connect_cb(struct osmo_stream_cli *cli, int (*connect_cb)(struct osmo_stream_cli *cli)); void osmo_stream_cli_set_disconnect_cb(struct osmo_stream_cli *cli, int (*disconnect_cb)(struct osmo_stream_cli *cli)); void osmo_stream_cli_set_read_cb(struct osmo_stream_cli *cli, int (*read_cb)(struct osmo_stream_cli *cli));
View file
libosmo-netif_1.4.0.45.9ea3.tar.xz/src/stream_cli.c -> libosmo-netif_1.4.0.46.34a6.tar.xz/src/stream_cli.c
Changed
@@ -222,6 +222,18 @@ return -EINVAL; } +/*! Retrieve osmo_io descriptor of the stream client socket. + * This function must not be called on a stream client in legacy osmo_fd mode! + * The iofd is only valid once/after osmo_stream_cli_open() has successfully returned. + * \paramin cli Stream Client of which we want to obtain the file descriptor + * \returns osmo_io_fd of stream client, or NULL if stream not yet opened. */ +struct osmo_io_fd * +osmo_stream_cli_get_iofd(const struct osmo_stream_cli *cli) +{ + OSMO_ASSERT(cli->mode == OSMO_STREAM_MODE_OSMO_IO); + return cli->iofd; +} + static void osmo_stream_cli_read(struct osmo_stream_cli *cli) { LOGSCLI(cli, LOGL_DEBUG, "message received\n");
View file
libosmo-netif_1.4.0.45.9ea3.tar.xz/src/stream_srv.c -> libosmo-netif_1.4.0.46.34a6.tar.xz/src/stream_srv.c
Changed
@@ -1037,6 +1037,17 @@ return -EINVAL; } +/*! Retrieve osmo_io descriptor of the stream server socket. + * This function must not be called on a stream server in legacy osmo_fd mode! + * \paramin srv Stream Server of which we want to obtain the osmo_io descriptor + * \returns osmo_io_fd of stream server. */ +struct osmo_io_fd * +osmo_stream_srv_get_iofd(const struct osmo_stream_srv *srv) +{ + OSMO_ASSERT(srv->mode == OSMO_STREAM_MODE_OSMO_IO); + return srv->iofd; +} + /*! Retrieve the master (Link) from a Stream Server. * \paramin conn Stream Server of which we want to know the Link * \returns Link through which the given Stream Server is established */
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
.