NL_ACT_xxx usage with cache API

Thomas Graf tgraf at suug.ch
Fri Feb 1 04:27:28 EST 2013


On 01/31/13 at 03:13pm, Maxime Bizon wrote:
> 
> Hello,
> 
> NL_ACT_NEW/DEL/CHANGE/.. were previously available in public cache API,
> but since recently they are not exported anymore.
> 
> Is this a mistake or they are not supposed to be used ?
> 
> If they are not, how should I use "action" parameter in change_func_t ?

Good point. I moved them to the public facing API:

commit 2005c2ecacdf5e1ba5be630c85f1288eeb8ad6af
Author: Thomas Graf <tgraf at suug.ch>
Date:   Fri Feb 1 10:21:58 2013 +0100

    cache: Make NL_ACT_* and nl_cache_ops_(get|put)() available
    
    Move NL_ACT_* definition and the functions nl_cache_ops_get()
    and nl_cache_ops_put() into the public facing API. They can
    be considered stable.
    
    Signed-off-by: Thomas Graf <tgraf at suug.ch>




More information about the libnl mailing list