[−][src]Function opensc_sys::sc_format_apdu_ex
pub unsafe extern "C" fn sc_format_apdu_ex(
apdu: *mut sc_apdu,
cla: u8,
ins: u8,
p1: u8,
p2: u8,
data: *const u8,
datalen: size_t,
resp: *mut u8,
resplen: size_t
)
Format an APDU based on the data to be sent and received.
Calls \a sc_transmit_apdu() by determining the APDU case based on \a datalen and \a resplen. As result, no chaining or GET RESPONSE will be performed in sc_format_apdu().