Method

EDataServerClientretrieve_capabilities

deprecated: 3.8 since: 3.2

Declaration [src]

void
e_client_retrieve_capabilities (
  EClient* client,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Initiates retrieval of capabilities on the client. This is usually required only once, after the client is opened. The returned value is cached and any subsequent call of e_client_get_capabilities() and e_client_check_capability() is using the cached value. The call is finished by e_client_retrieve_capabilities_finish() from the callback.

Available since: 3.2

Deprecated since: 3.8

Use e_client_get_capabilities() instead.

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

Parameters

cancellable

Type: GCancellable

A GCancellable; can be NULL.

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

Type: GAsyncReadyCallback

Callback to call when a result is ready.

The argument can be NULL.
user_data

Type: gpointer

User data for the callback.

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