arehbein has uploaded this change for review.

View Change

stream: Adapt to new changes

- adapt to def. of struct osmo_io_ops

- eliminate compiler warnings due to change in callback signature

Requires change I6a0eebb8d4490f09a3cc6eb97d4ff47b4a8fd377

Related: OS#5753
Change-Id: I5f9a5ce85efb4ed512ff6ca1f3e170d2ffb2ba22
---
M src/stream.c
1 file changed, 17 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/99/33199/1
diff --git a/src/stream.c b/src/stream.c
index ea7e9b2..fbce7b4 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -669,7 +669,6 @@
static struct osmo_io_ops osmo_stream_cli_ioops = {
.read_cb = stream_cli_iofd_read_cb,
.write_cb = stream_cli_iofd_write_cb,
-
.segmentation_cb = NULL,
};

@@ -1426,7 +1425,7 @@
return;
}

-static void stream_srv_iofd_write_cb(struct osmo_io_fd *iofd, int res, struct msgb *msg)
+static void stream_srv_iofd_write_cb(struct osmo_io_fd *iofd, int res, const struct msgb *msg)
{
struct osmo_stream_srv *conn = osmo_iofd_get_data(iofd);
LOGP(DLINP, LOGL_DEBUG, "connected write\n");

To view, visit change 33199. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I5f9a5ce85efb4ed512ff6ca1f3e170d2ffb2ba22
Gerrit-Change-Number: 33199
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein@sysmocom.de>
Gerrit-MessageType: newchange