Function
GckSessionopen_async
Declaration [src]
void
gck_session_open_async (
  GckSlot* slot,
  GckSessionOptions options,
  GTlsInteraction* interaction,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)
Description [src]
Open a session on the slot. This call will return immediately and complete asynchronously.
This function completes asynchronously. Use gck_session_open_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
- slot
- 
            Type: GckSlotThe slot to open session on. The data is owned by the caller of the function. 
- options
- 
            Type: GckSessionOptionsSession options. 
- interaction
- 
            Type: GTlsInteractionOptional interaction for logins or object authentication. The argument can be NULL.The data is owned by the caller of the function. 
- cancellable
- 
            Type: GCancellableOptional cancellation object. The argument can be NULL.The data is owned by the caller of the function. 
- callback
- 
            Type: GAsyncReadyCallbackCalled when the operation completes. 
- user_data
- 
            Type: gpointerData to pass to callback. The argument can be NULL.The data is owned by the caller of the function.