From ce72565f2649347103219056b9b5ae7c18247087 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Mon, 12 Nov 2012 21:59:54 +0100 Subject: cache: Move NL_CACHE_AF_ITER to alreay requires anyway. Signed-off-by: Thomas Graf --- include/netlink/cache-api.h | 5 ----- include/netlink/cache.h | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/include/netlink/cache-api.h b/include/netlink/cache-api.h index ccb4098..dd42671 100644 --- a/include/netlink/cache-api.h +++ b/include/netlink/cache-api.h @@ -168,11 +168,6 @@ struct nl_parser_param void * pp_arg; }; -/** - * Cache flags - */ -#define NL_CACHE_AF_ITER 0x0001 - /** * Cache Operations * diff --git a/include/netlink/cache.h b/include/netlink/cache.h index 7de389d..1eb1427 100644 --- a/include/netlink/cache.h +++ b/include/netlink/cache.h @@ -24,6 +24,12 @@ extern "C" { struct nl_cache; +/** + * @ingroup cache + * Explicitely iterate over all address families when updating the cache + */ +#define NL_CACHE_AF_ITER 0x0001 + /* Access Functions */ extern int nl_cache_nitems(struct nl_cache *); extern int nl_cache_nitems_filter(struct nl_cache *, -- cgit v1.2.1