Method

PurpleXmlNodeinsert_data

since: 3.0

Declaration [src]

void
purple_xmlnode_insert_data (
  PurpleXmlNode* node,
  const char* data,
  gssize size
)

Description [src]

Inserts data into a node.

Available since: 3.0

Parameters

data

Type: const char*

The data to insert.

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

Type: gssize

The size of the data to insert. If data is null-terminated you can pass in -1.