This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
dexter gerrit-no-reply at lists.osmocom.orgdexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/26453 ) Change subject: select: add member for human readable name to osmo_fd ...................................................................... select: add member for human readable name to osmo_fd osmo_fd structs are quite ubiquitous in osmocom applications. It might be helpful to give them names to distinguish network connections and unix domain sockets on a lower level. Change-Id: I64b288174ae3dd22d50a701ce7cbf9e623246479 Related: SYS#5701 --- M include/osmocom/core/select.h 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/53/26453/1 diff --git a/include/osmocom/core/select.h b/include/osmocom/core/select.h index e9f19a5..980bc97 100644 --- a/include/osmocom/core/select.h +++ b/include/osmocom/core/select.h @@ -43,6 +43,8 @@ void *data; /*! private number, extending \a data */ unsigned int priv_nr; + /*! human-readable name of this fd (optional) */ + const char *name; }; void osmo_fd_setup(struct osmo_fd *ofd, int fd, unsigned int when, -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/26453 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I64b288174ae3dd22d50a701ce7cbf9e623246479 Gerrit-Change-Number: 26453 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211206/9608a8ea/attachment.htm>