Function silc_client_get_clients
SYNOPSIS
void silc_client_get_clients(SilcClient client,
SilcClientConnection conn,
const char *nickname,
const char *server,
SilcGetClientCallback completion,
void *context);
DESCRIPTION
Finds client entry or entries by the `nickname' and `server'. The
completion callback will be called when the client entries has been
found. After the server returns the client information it is cached
and can be accesses locally at a later time. The resolving is done
with IDENTIFY command. The `server' may be NULL.
NOTES
NOTE: This function is always asynchronous and resolves the client
information from the server. Thus, if you already know the client
information then use the silc_client_get_client_by_id function to
get the client entry since this function may be very slow and should
be used only to initially get the client entries.
Since this routine resolves with IDENTIFY command only the relevant
information (user's nickname and username) is resolved. For example,
user's real name, channel list and others are not resolved. Caller
can/must resolve those separately if they are needed (for example,
with silc_client_get_client_by_id_resolve).
|