Method

XemeMessageadd_body

since: 0.1

Declaration [src]

void
xeme_message_add_body (
  XemeMessage* message,
  const char* language,
  const char* content
)

Description [src]

Add content as a body to message. If a body already exists with language, it will be replaced by the new content.

Available since: 0.1

Parameters

language

Type: const char*

The value for the xml:lang tag.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
content

Type: const char*

The content.

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