Logo Search packages:      
Sourcecode: libnl version File versions  Download package

void nl_cache_foreach ( struct nl_cache *  cache,
void(*)(struct nl_object *, void *)  cb,
void *  arg 
)

Call a callback on each element of the cache.

  • cache cache to iterate on
  • cb callback function
  • arg argument passed to callback function
Calls a callback function cb on each element of the cache. The argument arg is passed on the callback function.

Definition at line 509 of file cache.c.

References nl_cache_foreach_filter().

{
      nl_cache_foreach_filter(cache, NULL, cb, arg);
}


Generated by  Doxygen 1.6.0   Back to index