Lines Matching refs:nl_cache
300 typedef void (*change_func_t)(struct nl_cache *, struct nl_object *, int, void *);
303 struct nl_cache *alloc_cache_name(const char *name) in alloc_cache_name()
305 struct nl_cache *c; in alloc_cache_name()
322 struct nl_cache *cache_mngr_add(struct nl_cache_mngr *mngr, in cache_mngr_add()
326 struct nl_cache *cache; in cache_mngr_add()
336 extern int nl_cache_nitems(struct nl_cache *);
337 extern int nl_cache_nitems_filter(struct nl_cache *,
339 extern struct nl_cache_ops * nl_cache_get_ops(struct nl_cache *);
340 extern struct nl_object * nl_cache_get_first(struct nl_cache *);
341 extern struct nl_object * nl_cache_get_last(struct nl_cache *);
345 extern struct nl_cache * nl_cache_alloc(struct nl_cache_ops *);
346 extern struct nl_cache * nl_cache_subset(struct nl_cache *,
348 extern void nl_cache_clear(struct nl_cache *);
349 extern void nl_cache_free(struct nl_cache *);
352 extern int nl_cache_add(struct nl_cache *,
354 extern int nl_cache_parse_and_add(struct nl_cache *,
358 struct nl_cache *);
360 struct nl_cache *);
362 struct nl_cache *,
365 extern int nl_cache_include(struct nl_cache *,
369 extern void nl_cache_set_arg1(struct nl_cache *, int);
370 extern void nl_cache_set_arg2(struct nl_cache *, int);
373 extern int nl_cache_is_empty(struct nl_cache *);
374 extern struct nl_object * nl_cache_search(struct nl_cache *,
376 extern void nl_cache_mark_all(struct nl_cache *);
379 extern void nl_cache_dump(struct nl_cache *,
381 extern void nl_cache_dump_filter(struct nl_cache *,
386 extern void nl_cache_foreach(struct nl_cache *,
390 extern void nl_cache_foreach_filter(struct nl_cache *,
408 extern void nl_cache_mngt_provide(struct nl_cache *);
409 extern void nl_cache_mngt_unprovide(struct nl_cache *);
410 extern struct nl_cache * nl_cache_mngt_require(const char *);