cache: Move NL_CACHE_AF_ITER to <netlink/cache.h>
<netlink/cache-api.h> alreay requires <netlink/cache.h> anyway. Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
parent
0bd14aa2d6
commit
ce72565f26
2 changed files with 6 additions and 5 deletions
|
@ -168,11 +168,6 @@ struct nl_parser_param
|
|||
void * pp_arg;
|
||||
};
|
||||
|
||||
/**
|
||||
* Cache flags
|
||||
*/
|
||||
#define NL_CACHE_AF_ITER 0x0001
|
||||
|
||||
/**
|
||||
* Cache Operations
|
||||
*
|
||||
|
|
|
@ -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 *,
|
||||
|
|
Loading…
Add table
Reference in a new issue