[][src]Function opensc_sys::sc_logout

pub unsafe extern "C" fn sc_logout(card: *mut sc_card) -> c_int

Resets the security status of the card (i.e. withdraw all granted access rights). Note: not all card operating systems support a logout command and in this case SC_ERROR_NOT_SUPPORTED is returned. @param card struct sc_card object @return SC_SUCCESS on success, SC_ERROR_NOT_SUPPORTED if the card doesn't support a logout command and an error code otherwise