Function silc_client_get_clients_local
SYNOPSIS
SilcDList silc_client_get_clients_local(SilcClient client,
SilcClientConnection conn,
const char *nickname,
SilcBool return_all);
DESCRIPTION
Same as silc_client_get_clients function but does not resolve anything
from the server. This checks local cache and returns matching clients
from the local cache. If none was found this returns NULL. The
`nickname' is the nickname to find and it may be a formatted nickname
or a base nickname. If the `return_all' is TRUE this call will return
all clients matching the `nickname' base. If it is FALSE this will
return the exact match if `nickname' is a formatted nickname or the
first matching nickname if it is not formatted. The formatted nickname
must of the format specified in SilcClientParams. The caller must free
the returned list by calling silc_client_list_free function.
NOTES
If the application stores any of the SilcClientEntry pointers from
the returned list it must reference it with silc_client_ref_client
function.
Application must free the returned list with silc_client_list_free
function.
|