]> granicus.if.org Git - libnl/commit
cache: Add new nl_cache_find api
authorroopa <roopa@cumulusnetworks.com>
Tue, 8 Jan 2013 12:33:29 +0000 (04:33 -0800)
committerThomas Graf <tgraf@suug.ch>
Fri, 11 Jan 2013 12:52:50 +0000 (13:52 +0100)
commitb1ebda92410c57c09c7aff3e4d5ce3572d9fc1c1
tree278021a70471809c8f2fdf7a3a80fd6f20174754
parent3540e44b158f0f45fc2364d99e70433fba176b21
cache: Add new nl_cache_find api

This patch adds new cache find api

nl_cache_find api was suggested by Thomas.

Unlike nl_cache_search, this patch uses
nl_object_match_filter() to look for an
object match.

Am not sure this matches what was decided
on the list few weeks back. I will be happy
to make any changes.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
include/netlink/object.h
lib/cache.c
lib/object.c