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 <axilira...@gmail.com>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-CC: Harald Welte <lafo...@gnumonks.org>
Gerrit-Comment-Date: Wed, 06 Feb 2019 08:08:27 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No

Reply via email to