Method
PurpleProtocolClientnormalize
Declaration [src]
const gchar*
purple_protocol_client_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_protcol_client_normalize_name when it is created which will return an allocated value. |
Parameters
account |
PurpleAccount |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
who |
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. |