Method

CMClientget_homeserver_async

Declaration [src]

void
cm_client_get_homeserver_async (
  CmClient* self,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Tries to determine the home server based on the user data set on the CmAccount.

Run cm_client_get_homeserver_finish() to get the result.

Parameters

cancellable

Type: GCancellable

A GCancellable.

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

Type: GAsyncReadyCallback

A GAsyncReadyCallback.

The argument can be NULL.
user_data

Type: gpointer

The user data for callback.

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