]> granicus.if.org Git - libnl/commit
add user data to change_func_t for caches
authorAndreas Fett <a.fett@gmx.de>
Wed, 22 Sep 2010 18:10:26 +0000 (20:10 +0200)
committerThomas Graf <tgraf@suug.ch>
Wed, 13 Oct 2010 11:41:57 +0000 (13:41 +0200)
commit4ab22ccd47319e7d9a972bcf018e1a03870f64f0
treeceeb38a56218b4d17e297b21fd43fe7d76dcd720
parent86b6f6f6291eaaec542a2f4028087fa823122082
add user data to change_func_t for caches

the patch below adds the possibility to
pass user data to callbacks of type
change_func_t when using the nl_cache_mngr_*
family of functions.

If there is any better way to do this,
without duplicating the code in
cache_mngr.c please let me know.
include/netlink-types.h
include/netlink/cache.h
lib/cache.c
lib/cache_mngr.c