[PATCH] Export names for gsm_chan_t and gsm48_chan_mode

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/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Tue Mar 29 10:05:19 UTC 2016


On Sun, Mar 27, 2016 at 10:26:53AM +0200, Harald Welte wrote:
> theoretically, there could also be a 'c' where the accessor function is an
> inline function or a macro, as it basicall is just a one-liner.

I tend to use static inline functions with a switch(){} (I recently
submitted a patch like that in "[PATCH 1/7] Add MM Auth test; add
auth_action_str() function").

Is the get_value_string() way preferred to a switch?

Thanks,
~Neels

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20160329/94fc8f06/attachment.bin>


More information about the OpenBSC mailing list