[][src]Type Definition opensc_sys::element_seeker

type element_seeker = Option<unsafe extern "C" fn(el: *const c_void, indicator: *const c_void) -> c_int>;

a seeker of elements.

An element seeker is a function that: -# receives a reference to an element el -# receives a reference to some indicator data -# returns non-0 if the element matches the indicator, 0 otherwise

It is responsibility of the function to handle possible NULL values in any argument.