Method

XemeMessageget_subject

unstable since: 0.1

Declaration [src]

XemeLocalizedString*
xeme_message_get_subject (
  XemeMessage* message,
  const char* language
)

Description [src]

Gets the subject matching the given language.

Available since: 0.1

Parameters

language

Type: const char*

The language.

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

Return value

Type: XemeLocalizedString

The subject, if found.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.