Constructor
PurpleMessagenew_system
since: 3.0
Declaration [src]
PurpleMessage*
purple_message_new_system (
const char* contents,
PurpleMessageFlags flags
)
Description [src]
Creates new system message.
You don’t need to set the #PURPLE_MESSAGE_SYSTEM flag.
Available since: 3.0
Parameters
contents
-
Type:
const char*
The contents of a message.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. flags
-
Type:
PurpleMessageFlags
The message flags.
Return value
Type: PurpleMessage
The new PurpleMessage
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |