Method

IbisClientis_channel

since: 0.4

Declaration [src]

gboolean
ibis_client_is_channel (
  IbisClient* client,
  const char* target
)

Description [src]

Checks if target is a channel.

This uses IBIS_FEATURE_CHANTYPES from the result of IBIS_RPL_ISUPPORT to determine if target starts with a valid channel character.

Available since: 0.4

Parameters

target

Type: const char*

The target.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if target starts with a valid channel character, otherwise FALSE.