Constructor

IbisCTCPMessagenew

since: 0.5

Declaration [src]

IbisCTCPMessage*
ibis_ctcp_message_new (
  const char* command
)

Description [src]

Creates a new CTCP message with command as the command.

command will be normalized via g_utf8_strup() since 0.6.0.

Available since: 0.5

Parameters

command

Type: const char*

The command.

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

Return value

Type: IbisCTCPMessage

The new message.

The caller of the function takes ownership of the data, and is responsible for freeing it.