summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-05-11 09:33:29 +0200
committerThomas Graf <tgraf@suug.ch>2011-05-11 09:33:29 +0200
commit4cb1666fe19f71c09628615a1c4b6f822b7cd8de (patch)
tree0a5a720b023c29b78ccae901f8fb09e3d77e7ec4 /include
parentf443be6e744ac9be2ad48bd59432d5c2215d4e51 (diff)
downloadlibnl-4cb1666fe19f71c09628615a1c4b6f822b7cd8de.tar.gz
Provide silent variation of nl_cache_require()
Use in addr and tc layer to avoid warnings being printed if no cache is available.
Diffstat (limited to 'include')
-rw-r--r--include/netlink/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink/cache.h b/include/netlink/cache.h
index e17b015..f8073f0 100644
--- a/include/netlink/cache.h
+++ b/include/netlink/cache.h
@@ -107,6 +107,7 @@ extern int nl_cache_mngt_unregister(struct nl_cache_ops *);
extern void nl_cache_mngt_provide(struct nl_cache *);
extern void nl_cache_mngt_unprovide(struct nl_cache *);
extern struct nl_cache * nl_cache_mngt_require(const char *);
+extern struct nl_cache * __nl_cache_mngt_require(const char *);
struct nl_cache_mngr;