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

struct nl_object* nl_cache_get_last ( struct nl_cache *  cache  )  [read]

Return the last element in the cache

  • cache cache handle

Definition at line 125 of file cache.c.

{
      if (nl_list_empty(&cache->c_items))
            return NULL;

      return nl_list_entry(cache->c_items.prev,
                       struct nl_object, ce_list);
}


Generated by  Doxygen 1.6.0   Back to index