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

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

Return the first element in the cache

  • cache cache handle

Definition at line 112 of file cache.c.

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

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


Generated by  Doxygen 1.6.0   Back to index