Skip to content
Success

Changes

Summary

  1. ranap_common_ran: remove unused ctx args (details)
  2. ranap_common_ran: rename ctx -> priv (details)
Commit 1e4763b1f7555aff6ff2644826bf18da9117621f by Pau Espin Pedrol
ranap_common_ran: remove unused ctx args

This commit is basically 8b6dad3331eab339a7ffea7c22ed1830fe9ced60
applied to ranap_common_ran instead of ranap_common_cn.

ranap_ran_rx_co has a void *ctx argument, that gets passed to:
* a callback function and
* to various decode functions in the same file.

As it is named "ctx", it looks like a talloc context. But the decode
functions don't use ctx at all and so in reality it is private userdata
for the callback. It is used as such by test/hnb-test-rua and in
osmo-msc.

Change-Id: I57b320c2fdd72d11b87507d0cd9c2e7b479e7fe4
The file was modifiedinclude/osmocom/ranap/ranap_common_ran.h
The file was modifiedsrc/ranap_common_ran.c
The file was modifiedTODO-RELEASE
Commit 38a670c640744aa9cdd10f216da67c4bc9192616 by Pau Espin Pedrol
ranap_common_ran: rename ctx -> priv

This is basically commit 05bb6ad563c178de70645e815557fe225cd078b9
applied to ranap_common_ran instead of ranap_common_cn.

Rename the "ctx" argument of ranap_ran_rx_co to "priv"
as it is private user data passed to the callback.

Change-Id: I23f7f16cd7c487931226035e2616c85b75d79d08
The file was modifiedsrc/ranap_common_ran.c
The file was modifiedinclude/osmocom/ranap/ranap_common_ran.h