2 #include "lfds710_list_addonly_singlylinked_ordered_internal.h"
8 /****************************************************************************/
9 int lfds710_list_aso_get_by_key( struct lfds710_list_aso_state *lasos,
11 struct lfds710_list_aso_element **lasoe )
17 LFDS710_PAL_ASSERT( lasos != NULL );
18 // TRD : key can be NULL
19 LFDS710_PAL_ASSERT( lasoe != NULL );
21 while( cr != 0 and LFDS710_LIST_ASO_GET_START_AND_THEN_NEXT(*lasos, *lasoe) )
22 cr = lasos->key_compare_function( key, (*lasoe)->key );