[PATCH] add missing nl_cache_search in cache.h

Daniel Walter sahne at 0x90.at
Tue Mar 22 05:53:51 EDT 2011


hi,

fix missing declaration of nl_cache_search

-daniel

diff --git a/include/netlink/cache.h b/include/netlink/cache.h
index c752920..a2d4e64 100644
--- a/include/netlink/cache.h
+++ b/include/netlink/cache.h
@@ -68,6 +68,8 @@ extern int                    nl_cache_include(struct nl_cache *,
 
 /* General */
 extern int                     nl_cache_is_empty(struct nl_cache *);
+extern struct nl_object *      nl_cache_search(struct nl_cache *cache,
+                                 struct nl_object *needle);
 extern void                    nl_cache_mark_all(struct nl_cache *);
 
 /* Dumping */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20110322/d2503710/attachment.sig>


More information about the libnl mailing list