<p>neels <strong>uploaded patch set #5</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/25346">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add osmo_stat_item_get_group_by_name_idxname()<br><br>Add "missing" API for looking up a stat_item_group by its index-name.<br>A subsequent patch, which adds stat_items to the CTRL interface, will<br>use this to look up stat item groups by object name.<br><br>In stat item groups, there are group names, having a number of indexes<br>denoting different objects. An object can have, besides the index, also<br>a name that is equivalent to the index.<br><br>Apologies for the weird function name, it's still the best one I<br>could come up with: "group_by_name" refers to the group name, and<br>"idxname" refers to the name that the object index is associated with.<br><br>We already have osmo_stat_item_get_group_by_name_idx().<br>Other contestants for name of this new function were:<br><br>- osmo_stat_item_get_group_by_name_name()<br>  because there is a "name" instead of "idx", but I find it confusing.<br><br>- osmo_stat_item_get_group_by_name_idx_name()<br>  but I find that the last "name" should be closer to the "idx".<br><br>Related: SYS#5542<br>Change-Id: Ia1a77a1e4657ba624dd4f4bf7ad274e7751d0141<br>---<br>M include/osmocom/core/stat_item.h<br>M src/stat_item.c<br>2 files changed, 21 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/46/25346/5</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/25346">change 25346</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/25346"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ia1a77a1e4657ba624dd4f4bf7ad274e7751d0141 </div>
<div style="display:none"> Gerrit-Change-Number: 25346 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>