Method

CamelStoreinitial_setup_finish

since: 3.20

Declaration [src]

gboolean
camel_store_initial_setup_finish (
  CamelStore* store,
  GAsyncResult* result,
  GHashTable** out_save_setup,
  GError** error
)

Description [src]

Finishes the operation started with camel_store_initial_setup().

The save_setup result, if not NULL, should be freed using g_hash_table_destroy(). It’s not an error to have it NULL, it only means the store doesn’t have anything to save.

Available since: 3.20

Parameters

result

Type: GAsyncResult

A GAsyncResult.

The data is owned by the caller of the method.
out_save_setup

Type: GHashTable

Setup values to save.

The argument will be set by the function.
The caller of the method takes ownership of the returned data container, but not the data inside it.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: gboolean

TRUE on success, FALSE on error.