[][src]Type Definition pkcs11::functions::C_WaitForSlotEvent

type C_WaitForSlotEvent = extern "C" fn(flags: CK_FLAGS, pSlot: CK_SLOT_ID_PTR, pRserved: CK_VOID_PTR) -> CK_RV;

C_WaitForSlotEvent waits for a slot event (token insertion, removal, etc.) to occur.

Function Parameters

  • flags: blocking/nonblocking flag
  • pSlot: location that receives the slot ID
  • pRserved: reserved. Should be NULL_PTR