Gck.Session.open_async
Description: Reference for Gck.Session.open_async

### Function

# Gck Sessionopen_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.

#### Parameters

`slot`

  Type: `GckSlot`

  The slot to open session on.

  The data is owned by the caller of the function.

`options`

  Type: `GckSessionOptions`

  Session options.

`interaction`

  Type: `GTlsInteraction`

  Optional interaction for logins or object authentication.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

`cancellable`

  Type: `GCancellable`

  Optional cancellation object.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

`callback`

  Type: `GAsyncReadyCallback`

  Called when the operation completes.

`user_data`

  Type: `gpointer`

  Data to pass to callback.

  The argument can be `NULL`.
  The data is owned by the caller of the function.