Function

CamelAsyncClosurecallback

since: 3.12

Declaration [src]

void
camel_async_closure_callback (
  GObject* source_object,
  GAsyncResult* result,
  gpointer closure
)

Description [src]

Pass this function as the GAsyncReadyCallback argument of an asynchronous function, and the CamelAsyncClosure as the data argument.

This causes camel_async_closure_wait() to terminate and return result.

Available since: 3.12

This function is not directly available to language bindings.

Parameters

source_object

Type: GObject

A GObject or NULL.

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

Type: GAsyncResult

A GAsyncResult.

The data is owned by the caller of the function.
closure

Type: gpointer

A CamelAsyncClosure.

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