Method

PurpleProtocolServerchange_passwd

since: 3.0

Declaration [src]

void
purple_protocol_server_change_passwd (
  PurpleProtocolServer* protocol_server,
  PurpleConnection* connection,
  const gchar* old_pass,
  const gchar* new_pass
)

Description [src]

Changes the user’s password from old_pass to new_pass.

Available since: 3.0

Parameters

connection

Type: PurpleConnection

The PurpleConnection instance.

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

Type: const gchar*

The user’s old password.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
new_pass

Type: const gchar*

The new password for the user.

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