Method

CamelStoreinitial_setup

since: 3.20

Declaration [src]

void
camel_store_initial_setup (
  CamelStore* store,
  gint io_priority,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Runs initial setup for the store asynchronously.

When the operation is finished, callback will be called. You can then call camel_store_initial_setup_finish() to get the result of the operation.

The store advertises support of this function by including CAMEL_STORE_SUPPORTS_INITIAL_SETUP in CamelStore::flags.

Available since: 3.20

This method completes asynchronously. Use camel_store_initial_setup_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

io_priority

Type: gint

The I/O priority of the request.

cancellable

Type: GCancellable

Optional GCancellable object, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied.

The argument can be NULL.
user_data

Type: gpointer

Data to pass to the callback function.

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