Function silc_client_get_client_by_id_resolve
SYNOPSIS
SilcUInt16
silc_client_get_client_by_id_resolve(SilcClient client,
SilcClientConnection conn,
SilcClientID *client_id,
SilcBuffer attributes,
SilcGetClientCallback completion,
void *context);
DESCRIPTION
Same as silc_client_get_client_by_id but will always resolve the
information from the server. Use this only if you know that you
do not have the entry and the only thing you know about the client
is its ID. When server returns the client information it will be
cache and can be accessed locally at a later time. The resolving
is done by sending WHOIS command.
Returns command identifier for the resolving. It can be used to attach
a pending command to it, if needed. Returns 0 on error.
If the `attributes' is non-NULL then the buffer includes Requested
Attributes which can be used to fetch very detailed information
about the user. If it is NULL then only normal WHOIS query is
made (for more information about attributes see SilcAttribute).
Caller may create the `attributes' with silc_client_attributes_request
function.
|