Signal

IbisClient::message

since: 0.1

Declaration

gboolean
message (
  IbisClient* self,
  gchar* command,
  IbisMessage* message,
  gpointer user_data
)

Description [src]

Emitted when the client has received a new message.

This signal supports details based on the upper case version of the command from the message. For example, PRIVMSG, NOTICE, etc.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

The signal can be detailed
Available since: 0.1

Parameters

command

Type: gchar*

The command.

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

Type: IbisMessage

The message.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE to stop other handlers from being invoked, otherwise FALSE to propagate further.