]> granicus.if.org Git - libnl/commitdiff
cache: Add missing declaration for nl_cache_find()
authorThomas Graf <tgraf@suug.ch>
Fri, 13 Dec 2013 14:57:43 +0000 (15:57 +0100)
committerThomas Graf <tgraf@suug.ch>
Fri, 13 Dec 2013 14:57:43 +0000 (15:57 +0100)
Reported-by: Andrej.Gantvorg@wago.com
Signed-off-by: Thomas Graf <tgraf@suug.ch>
include/netlink/cache.h

index 415bb003d2806132ad27891c8dcd24552a359e93..08f97fa1cbe52f8c9c632d18eaa0a47735f7c0f0 100644 (file)
@@ -92,6 +92,8 @@ extern void                   nl_cache_set_flags(struct nl_cache *, unsigned int);
 extern int                     nl_cache_is_empty(struct nl_cache *);
 extern struct nl_object *      nl_cache_search(struct nl_cache *,
                                                struct nl_object *);
+extern struct nl_object *nl_cache_find(struct nl_cache *,
+                                      struct nl_object *);
 extern struct nl_object *      nl_cache_lookup(struct nl_cache *,
                                                struct nl_object *);
 extern void                    nl_cache_mark_all(struct nl_cache *);