Method

PurpleCredentialProviderread_password_finish

Declaration [src]

gchar*
purple_credential_provider_read_password_finish (
  PurpleCredentialProvider* provider,
  GAsyncResult* result,
  GError** error
)

Description [src]

Finishes a previous call to purple_credential_provider_read_password_async().

Available since:3.0.0

Parameters

result GAsyncResult
 

The GAsyncResult from the previous purple_credential_provider_read_password_async() call.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gchar*
 

The password or NULL if successful, otherwise NULL with error set on failure.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.