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