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

struct nl_object* nl_cache_get_next ( struct nl_object *  obj  )  [read]

Return the next element in the cache

  • obj current object

Definition at line 138 of file cache.c.

{
      if (nl_list_at_tail(obj, &obj->ce_cache->c_items, ce_list))
            return NULL;
      else
            return nl_list_entry(obj->ce_list.next,
                             struct nl_object, ce_list);
}


Generated by  Doxygen 1.6.0   Back to index