Change in libosmocore[master]: gsm/gsm0480: introduce gsm0480_create_release_complete[_cause]() API

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Feb 6 08:08:27 UTC 2019


Harald Welte has posted comments on this change. ( https://gerrit.osmocom.org/12839 )

Change subject: gsm/gsm0480: introduce gsm0480_create_release_complete[_cause]() API
......................................................................


Patch Set 1:

If you're introducing a new API function, I would consider it "most clean" if one were to pass a "struct release_cause { location; cause; }" kind of struct as a "const *" pointer to a function.  If that pointer is NULL, then the optional element is not encoded.  If it's non-null the optional element is encoded as per the elements in that struct.

It's not critical, I would also merge your patch as-is, if you prefer.


-- 
To view, visit https://gerrit.osmocom.org/12839
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie3ac85fcef90a5e532334ba3482804d5305c88d7
Gerrit-Change-Number: 12839
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-CC: Harald Welte <laforge at gnumonks.org>
Gerrit-Comment-Date: Wed, 06 Feb 2019 08:08:27 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190206/9edf0b91/attachment.htm>


More information about the gerrit-log mailing list