[][src]Function opensc_sys::list_seek

pub unsafe extern "C" fn list_seek(
    l: *mut list_t,
    indicator: *const c_void
) -> *mut c_void

returns an element given an indicator.

@warning Requires a seeker function to be set for the list.

Inspect the given list looking with the seeker if an element matches an indicator. If such element is found, the reference to the element is returned.

@param l list to operate @param indicator indicator data to pass to the seeker along with elements @return reference to the element accepted by the seeker, or NULL if none found