Method

PurpleConnectionset_password

since: 3.0

Declaration [src]

void
purple_connection_set_password (
  PurpleConnection* connection,
  const char* password
)

Description [src]

Sets the password for connection to password.

This will not change your password on the remote service. It just updates the password that the protocol should use when connecting.

This is generally used by protocol plugins that support multiple authentication methods and need to prompt the user for a password.

Available since: 3.0

Parameters

password

Type: const char*

The new password.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.