Projects
osmocom:master
libosmo-netif
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 135
View file
libosmo-netif.spec
Changed
@@ -14,13 +14,13 @@ Name: libosmo-netif Requires: osmocom-master -Version: 1.6.0.4.6539 +Version: 1.6.0.5.6a68 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.6.0.4.6539.tar.xz +Source: libosmo-netif_1.6.0.5.6a68.tar.xz Source1: rpmlintrc BuildRequires: automake BuildRequires: libtool >= 2
View file
commit_65395fbc0fb9d58593c7059d12497a15dfd52fde.txt
Deleted
View file
commit_6a689efae780d10f88db1fd0a0f5cfe98ed782c9.txt
Added
View file
libosmo-netif_1.6.0.4.6539.dsc
Deleted
@@ -1,22 +0,0 @@ -Format: 3.0 (native) -Source: libosmo-netif -Binary: libosmonetif11, libosmo-netif-dev, libosmo-netif-doc, libosmo-netif-dbg -Architecture: any all -Version: 1.6.0.4.6539 -Maintainer: Osmocom team <openbsc@lists.osmocom.org> -Homepage: https://projects.osmocom.org/projects/libosmo-netif -Standards-Version: 3.9.6 -Vcs-Browser: https://gitea.osmocom.org/osmocom/libosmo-netif -Vcs-Git: https://gitea.osmocom.org/osmocom/libosmo-netif -Build-Depends: debhelper (>= 10), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, doxygen, libosmocore-dev (>= 1.11.0), pkg-config, libpcap0.8-dev, libsctp-dev -Package-List: - libosmo-netif-dbg deb debug extra arch=any - libosmo-netif-dev deb libdevel optional arch=any - libosmo-netif-doc deb doc optional arch=all - libosmonetif11 deb libs optional arch=any -Checksums-Sha1: - 8f12949e8361263476e7214c856033b53138bba7 198964 libosmo-netif_1.6.0.4.6539.tar.xz -Checksums-Sha256: - dce57da81c4f237899691bda577e56f7cb4c0f9ff9b59c2d5f688c7698f83d31 198964 libosmo-netif_1.6.0.4.6539.tar.xz -Files: - 4231bd8cf9278ed5c3324d88e4e9a8d8 198964 libosmo-netif_1.6.0.4.6539.tar.xz
View file
libosmo-netif_1.6.0.5.6a68.dsc
Added
@@ -0,0 +1,22 @@ +Format: 3.0 (native) +Source: libosmo-netif +Binary: libosmonetif11, libosmo-netif-dev, libosmo-netif-doc, libosmo-netif-dbg +Architecture: any all +Version: 1.6.0.5.6a68 +Maintainer: Osmocom team <openbsc@lists.osmocom.org> +Homepage: https://projects.osmocom.org/projects/libosmo-netif +Standards-Version: 3.9.6 +Vcs-Browser: https://gitea.osmocom.org/osmocom/libosmo-netif +Vcs-Git: https://gitea.osmocom.org/osmocom/libosmo-netif +Build-Depends: debhelper (>= 10), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, doxygen, libosmocore-dev (>= 1.11.0), pkg-config, libpcap0.8-dev, libsctp-dev +Package-List: + libosmo-netif-dbg deb debug extra arch=any + libosmo-netif-dev deb libdevel optional arch=any + libosmo-netif-doc deb doc optional arch=all + libosmonetif11 deb libs optional arch=any +Checksums-Sha1: + af283861d7f0c6d283d6ac96f59f355549d25d27 198872 libosmo-netif_1.6.0.5.6a68.tar.xz +Checksums-Sha256: + 5ae0aca607b44df854a718db5d45fe5d16244b1cc25bb98fb64f236c43cd832f 198872 libosmo-netif_1.6.0.5.6a68.tar.xz +Files: + 920cee5f6df26b98403fc40a25f1c687 198872 libosmo-netif_1.6.0.5.6a68.tar.xz
View file
libosmo-netif_1.6.0.4.6539.tar.xz/.tarball-version -> libosmo-netif_1.6.0.5.6a68.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.6.0.4-6539 +1.6.0.5-6a68
View file
libosmo-netif_1.6.0.4.6539.tar.xz/debian/changelog -> libosmo-netif_1.6.0.5.6a68.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -libosmo-netif (1.6.0.4.6539) unstable; urgency=medium +libosmo-netif (1.6.0.5.6a68) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Thu, 24 Apr 2025 12:21:12 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Mon, 05 May 2025 00:11:18 +0000 libosmo-netif (1.6.0) unstable; urgency=medium
View file
libosmo-netif_1.6.0.4.6539.tar.xz/include/osmocom/netif/stream.h -> libosmo-netif_1.6.0.5.6a68.tar.xz/include/osmocom/netif/stream.h
Changed
@@ -126,6 +126,7 @@ void *data); struct osmo_stream_srv *osmo_stream_srv_create2(void *ctx, struct osmo_stream_srv_link *link, int fd, void *data); void osmo_stream_srv_set_name(struct osmo_stream_srv *conn, const char *name); +void osmo_stream_srv_set_name_f(struct osmo_stream_srv *conn, const char *fmt, ...); const char *osmo_stream_srv_get_name(const struct osmo_stream_srv *conn); void osmo_stream_srv_set_read_cb(struct osmo_stream_srv *conn, osmo_stream_srv_read_cb2_t read_cb); void osmo_stream_srv_set_closed_cb(struct osmo_stream_srv *conn, osmo_stream_srv_closed_cb_t close_cb); @@ -203,6 +204,7 @@ typedef int (*osmo_stream_cli_segmentation_cb2_t)(struct osmo_stream_cli *cli, struct msgb *msg); void osmo_stream_cli_set_name(struct osmo_stream_cli *cli, const char *name); +void osmo_stream_cli_set_name_f(struct osmo_stream_cli *cli, const char *fmt, ...); const char *osmo_stream_cli_get_name(const struct osmo_stream_cli *cli); void osmo_stream_cli_set_nodelay(struct osmo_stream_cli *cli, bool nodelay); int osmo_stream_cli_set_priority(struct osmo_stream_cli *cli, int sk_prio);
View file
libosmo-netif_1.6.0.4.6539.tar.xz/src/stream_cli.c -> libosmo-netif_1.6.0.5.6a68.tar.xz/src/stream_cli.c
Changed
@@ -667,9 +667,31 @@ */ void osmo_stream_cli_set_name(struct osmo_stream_cli *cli, const char *name) { - osmo_talloc_replace_string(cli, &cli->name, name); + osmo_stream_cli_set_name_f(cli, "%s", name); +} + +/*! Set a name on the cli object using arguments like printf() (used during logging). + * \paramin cli stream_cli whose name is to be set + * \paramin name the name to be set on cli + */ +void osmo_stream_cli_set_name_f(struct osmo_stream_cli *cli, const char *fmt, ...) +{ + char *name = NULL; + + if (fmt) { + va_list ap; + + va_start(ap, fmt); + name = talloc_vasprintf(cli, fmt, ap); + va_end(ap); + } + + if (cli->name) + talloc_free((void *)cli->name); + cli->name = name; + if (cli->mode == OSMO_STREAM_MODE_OSMO_IO && cli->iofd) - osmo_iofd_set_name(cli->iofd, name); + osmo_iofd_set_name(cli->iofd, cli->name); } /*! Retrieve name previously set on the cli object (see osmo_stream_cli_set_name()).
View file
libosmo-netif_1.6.0.4.6539.tar.xz/src/stream_srv.c -> libosmo-netif_1.6.0.5.6a68.tar.xz/src/stream_srv.c
Changed
@@ -1011,9 +1011,31 @@ */ void osmo_stream_srv_set_name(struct osmo_stream_srv *conn, const char *name) { - osmo_talloc_replace_string(conn, &conn->name, name); + osmo_stream_srv_set_name_f(conn, "%s", name); +} + +/*! Set a name on the srv object using arguments like printf() (used during logging). + * \paramin srv stream_srv whose name is to be set + * \paramin name the name to be set on srv + */ +void osmo_stream_srv_set_name_f(struct osmo_stream_srv *conn, const char *fmt, ...) +{ + char *name = NULL; + + if (fmt) { + va_list ap; + + va_start(ap, fmt); + name = talloc_vasprintf(conn, fmt, ap); + va_end(ap); + } + + if (conn->name) + talloc_free((void *)conn->name); + conn->name = name; + if (conn->mode == OSMO_STREAM_MODE_OSMO_IO && conn->iofd) - osmo_iofd_set_name(conn->iofd, name); + osmo_iofd_set_name(conn->iofd, conn->name); } /*! Retrieve name previously set on the srv object (see osmo_stream_srv_set_name()).
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
.