Function

GoaClientnew

Declaration [src]

void
goa_client_new (
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Asynchronously gets a GoaClient.

This is a failable asynchronous constructor - when the client is ready, callback will be invoked and you can use goa_client_new_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 function.
callback

Type: GAsyncReadyCallback

A callback to call when the operation is complete.

user_data

Type: gpointer

Data to pass to callback.

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