<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/26453">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">select: add member for human readable name to osmo_fd<br><br>osmo_fd structs are quite ubiquitous in osmocom applications. It might<br>be helpful to give them names to distinguish network connections and<br>unix domain sockets on a lower level.<br><br>Change-Id: I64b288174ae3dd22d50a701ce7cbf9e623246479<br>Related: SYS#5701<br>---<br>M include/osmocom/core/select.h<br>1 file changed, 2 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/53/26453/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/core/select.h b/include/osmocom/core/select.h</span><br><span>index e9f19a5..980bc97 100644</span><br><span>--- a/include/osmocom/core/select.h</span><br><span>+++ b/include/osmocom/core/select.h</span><br><span>@@ -43,6 +43,8 @@</span><br><span>  void *data;</span><br><span>  /*! private number, extending \a data */</span><br><span>     unsigned int priv_nr;</span><br><span style="color: hsl(120, 100%, 40%);">+ /*! human-readable name of this fd (optional) */</span><br><span style="color: hsl(120, 100%, 40%);">+      const char *name;</span><br><span> };</span><br><span> </span><br><span> void osmo_fd_setup(struct osmo_fd *ofd, int fd, unsigned int when,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/26453">change 26453</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/+/26453"/><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: I64b288174ae3dd22d50a701ce7cbf9e623246479 </div>
<div style="display:none"> Gerrit-Change-Number: 26453 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>