[][src]Function opensc_sys::sc_ctx_use_reader

pub unsafe extern "C" fn sc_ctx_use_reader(
    ctx: *mut sc_context_t,
    pcsc_context_handle: *mut c_void,
    pcsc_card_handle: *mut c_void
) -> c_int

Pass in pointers to handles to be used for the pcsc reader. This is used by cardmod to pass in handles provided by BaseCSP

@param ctx pointer to a sc_context_t @param pcsc_context_handle pointer to the new context_handle to use @param pcsc_card_handle pointer to the new card_handle to use @return SC_SUCCESS on success and an error code otherwise.