Function silc_client_nickname_format
SYNOPSIS
SilcClientEntry
silc_client_nickname_format(SilcClient client,
SilcClientConnection conn,
SilcClientEntry client_entry,
SilcBool priority);
DESCRIPTION
Formats the nickname of `client_entry' according to the nickname
formatting rules set in SilcClientParams. If the `priority' is TRUE
then the `client_entry' will always get the unformatted nickname.
If FALSE and there are more than one same nicknames in the client
the nickname will be formatted.
This returns NULL on error. Otherwise, the client entry that was
formatted is returned. If `priority' is FALSE this always returns
the `client_entry'. If it is TRUE, this may return the client entry
that was formatted after giving the `client_entry' the unformatted
nickname.
Usually application does not need to call this function, as the library
automatically formats nicknames. However, if application wants to
for example force the `client_entry' to always have the unformatted
nickname it may call this function to do so.
|