Constructor

IbisMessagenew

since: 0.1

Declaration [src]

IbisMessage*
ibis_message_new (
  const char* command
)

Description [src]

Creates a new message with command.

Available since: 0.1

Parameters

command

Type: const char*

The command of the message.

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

Return value

Type: IbisMessage

The new message.

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