Method

XemeStanzamarshal

since: 0.1

Declaration [src]

char*
xeme_stanza_marshal (
  XemeStanza* stanza
  GError** error
)

Description [src]

Marshals stanza into a string. If there is an error error will be set and NULL will be returned.

Available since: 0.1

Return value

Type: char*

The marshaled stanza as a string or NULL with error set on failure.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.