Function silc_client_get_channel
SYNOPSIS
SilcChannelEntry silc_client_get_channel(SilcClient client,
SilcClientConnection conn,
char *channel_name);
DESCRIPTION
Finds entry for channel by the channel name. Returns the entry or NULL
if the entry was not found. It is found only if the client is joined
to the channel. Use silc_client_get_channel_resolve or
silc_client_get_channel_by_id_resolve to resolve channel that client
is not joined.
NOTES
The returned SilcChannelEntry has been referenced by the library and
the caller must call silc_client_unref_channel after the entry is not
needed anymore.
|