• Home
  • Raw
  • Download

Lines Matching refs:nl_object

253 				       void (*cb)(struct nl_object *, void *),
259 struct nl_object *cast_obj(void *obj) in cast_obj()
261 return (struct nl_object *) obj; in cast_obj()
264 struct nl_object *object_alloc_name(const char *name) in object_alloc_name()
266 struct nl_object *obj; in object_alloc_name()
275 extern struct nl_object *nl_object_alloc(struct nl_object_ops *);
276 extern void nl_object_free(struct nl_object *);
277 extern struct nl_object *nl_object_clone(struct nl_object *);
278 extern void nl_object_get(struct nl_object *);
279 extern void nl_object_put(struct nl_object *);
280 extern int nl_object_shared(struct nl_object *);
283 extern void nl_object_dump_buf(struct nl_object *, char *buf, size_t len);
285 extern void nl_object_dump(struct nl_object *, struct nl_dump_params *);
287 extern int nl_object_identical(struct nl_object *, struct nl_object *);
288 extern uint32_t nl_object_diff(struct nl_object *, struct nl_object *);
289 extern int nl_object_match_filter(struct nl_object *, struct nl_object *);
292 extern char *nl_object_attrs2str(struct nl_object *, uint32_t, char *buf, size_t len);
295 extern char *nl_object_attr_list(struct nl_object *, char *buf, size_t len);
297 extern void nl_object_mark(struct nl_object *);
298 extern void nl_object_unmark(struct nl_object *);
299 extern int nl_object_is_marked(struct nl_object *);
301 extern int nl_object_get_refcnt(struct nl_object *);
305 typedef void (*change_func_t)(struct nl_cache *, struct nl_object *, int, void *);
343 struct nl_object *);
345 extern struct nl_object * nl_cache_get_first(struct nl_cache *);
346 extern struct nl_object * nl_cache_get_last(struct nl_cache *);
347 extern struct nl_object * nl_cache_get_next(struct nl_object *);
348 extern struct nl_object * nl_cache_get_prev(struct nl_object *);
352 struct nl_object *);
358 struct nl_object *);
361 extern void nl_cache_remove(struct nl_object *);
371 struct nl_object *,
379 extern struct nl_object * nl_cache_search(struct nl_cache *,
380 struct nl_object *);
388 struct nl_object *);
392 void (*cb)(struct nl_object *,
396 struct nl_object *,
398 nl_object *,