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

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

Return the previous element in the cache

  • obj current object

Definition at line 146 of file cache.c.

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


Generated by  Doxygen 1.6.0   Back to index