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.
This method completes asynchronously. Use cm_client_get_homeserver_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
- cancellable
- 
            Type: GCancellableA GCancellable.The argument can be NULL.The data is owned by the caller of the method. 
- callback
- 
            Type: GAsyncReadyCallbackA GAsyncReadyCallback.The argument can be NULL.
- user_data
- 
            Type: gpointerThe user data for callback.The argument can be NULL.The data is owned by the caller of the method.