[PATCH 5/8] nl_cb: store nl_cb_type in struct nl_cb

Thomas Graf tgraf at redhat.com
Thu Sep 5 11:36:58 EDT 2013


On 09/05/2013 02:17 PM, Arend van Spriel wrote:
> On 09/05/2013 02:11 PM, Arend van Spriel wrote:
>> The application could use the same handler for multiple
>> nl_cb_type events. This patch stores the nl_cb_type in
>> the nl_cb struct during the callback. This allows the
>> application to obtain that information using the new
>> nl_cb_active_type() function. This way the callback
>> signature remains as is so existing applications are
>> not affected.
>
> I guess my editor got carried away on this one cleaning up whitespace.
> Sorry about that.

No problem.




More information about the libnl mailing list