summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-04-10 08:22:27 (GMT)
committerThomas Graf <tgraf@suug.ch>2011-04-10 08:22:27 (GMT)
commit23c27b473825f1c7a3651c9aa24afb685a6183a7 (patch)
treeb95a20765ecc57ca9a6a9455978f6c015b754c38 /include
parentef327ffd44dbef02446255fe370d91e256ad927b (diff)
downloadlibnl-23c27b473825f1c7a3651c9aa24afb685a6183a7.zip
libnl-23c27b473825f1c7a3651c9aa24afb685a6183a7.tar.gz
libnl-23c27b473825f1c7a3651c9aa24afb685a6183a7.tar.bz2
Provide nl_cache_set_arg{1,2}() to specify cache args
Added based on a RFE. This is required if allocation and (re)filling is to be splitted.
Diffstat (limited to 'include')
-rw-r--r--include/netlink/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netlink/cache.h b/include/netlink/cache.h
index 61f94dd..e17b015 100644
--- a/include/netlink/cache.h
+++ b/include/netlink/cache.h
@@ -65,6 +65,8 @@ extern int nl_cache_include(struct nl_cache *,
struct nl_object *,
change_func_t,
void *);
+extern void nl_cache_set_arg1(struct nl_cache *, int);
+extern void nl_cache_set_arg2(struct nl_cache *, int);
/* General */
extern int nl_cache_is_empty(struct nl_cache *);