Virtual Method
PurpleProtocolClientnormalize
deprecated: 3.0.0 since: 3.0.0
Declaration [src]
const gchar*
normalize (
PurpleProtocolClient* client,
PurpleAccount* account,
const gchar* who
)
Description [src]
Normalizes a who
to the canonical form for the protocol. For example, many
protocols only support all lower case, but might have display version where
there are capital letters.
Available since: 3.0.0
Deprecated since: 3.0.0
This should use purple_protocol_client_normalize_name when it is created which will return an allocated value.
Parameters
account
-
Type:
PurpleAccount
A
PurpleAccount
instance.The argument can be NULL
.The data is owned by the caller of the function. who
-
Type:
const gchar*
The name to normalize.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.