History log of /external/libnl/lib/cache.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4ab22ccd47319e7d9a972bcf018e1a03870f64f0 22-Sep-2010 Andreas Fett <a.fett@gmx.de> 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.
/external/libnl/lib/cache.c
ba1bd9050d0373239dfc400815e275d169dee415 07-Apr-2010 Patrick McHardy <kaber@trash.net> cache: properly invoke change_cb for deleted objects in nl_cache_resync()

When resyncing a cache, there are no delete messages, so they need to
be synthesized for deleted objects.

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/libnl/lib/cache.c
d84430702496f617c01c5e2d27d0e82e02390bb7 23-May-2008 Thomas Graf <tgr@lsx.localdomain> Remove old line counting while dumping
/external/libnl/lib/cache.c
1155370f520cb64657e25153255cf7dc1424317f 15-May-2008 Thomas Graf <tgr@lsx.localdomain> Rename struct nl_handle to struct nl_sock

The idea of a common handle is long revised and only misleading,
nl_handle really represents a socket with some additional
action handlers assigned to it.

Alias for nl_handle is kept for backwards compatibility.
/external/libnl/lib/cache.c
8a3efffa5b3fde252675239914118664d36a2c24 14-May-2008 Thomas Graf <tgr@lsx.localdomain> Thread-safe error handling

In order for the interface to become more thread safe, the error
handling was revised to no longer depend on a static errno and
error string buffer.

This patch converts all error paths to return a libnl specific
error code which can be translated to a error message using
nl_geterror(int error). The functions nl_error() and
nl_get_errno() are therefore obsolete.

This change required various sets of function prototypes to be
changed in order to return an error code, the most prominent
are:

struct nl_cache *foo_alloc_cache(...);
changed to:
int foo_alloc_cache(..., struct nl_cache **);

struct nl_msg *foo_build_request(...);
changed to:
int foo_build_request(..., struct nl_msg **);

struct foo *foo_parse(...);
changed to:
int foo_parse(..., struct foo **);

This pretty much only leaves trivial allocation functions to
still return a pointer object which can still return NULL to
signal out of memory.

This change is a serious API and ABI breaker, sorry!
/external/libnl/lib/cache.c
f4f7704b0d119ddf9672d81b1d7f76347dbf7a1f 29-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Ignore NULL pointers passed to nl_cache_free()
/external/libnl/lib/cache.c
c6609efc0fdcb1705cf157b4f383152edb7505c6 09-Jan-2008 Patrick McHardy <kaber@trash.net> [PATCH] libnl cache management leak
/external/libnl/lib/cache.c
c8a0a5cdfba51f7de5d203aa13a97377b215515a 10-Jan-2008 Thomas Graf <tgr@deb.localdomain> Added additional parsing and validation functions for generic netlink

Also adds better example documentation for generic netlink
/external/libnl/lib/cache.c
3d8efba91778b65a40d50ca0b6ba91d4071564c5 17-Sep-2007 Thomas Graf <tgraf@suug.ch> Check for availability of request_update()

The implementation of this function is optional if a cache wishes to
be updated by notifications only.
/external/libnl/lib/cache.c
44d362409d5469aed47d19e7908d19bd194493a4 15-Sep-2007 Thomas Graf <tgraf@suug.ch> Initial import
/external/libnl/lib/cache.c