Method

IbisCTCPMessageis_command

since: 0.7

Declaration [src]

gboolean
ibis_ctcp_message_is_command (
  IbisCTCPMessage* message,
  const char* command
)

Description [src]

Checks if the command of message matches command.

Available since: 0.7

Parameters

command

Type: const char*

The command to check.

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 the command of message matches command; false otherwise.