Method

PurpleXmlNodeget_attrib

since: 3.0

Declaration [src]

const char*
purple_xmlnode_get_attrib (
  const PurpleXmlNode* node,
  const char* attr
)

Description [src]

Gets an attribute from a node.

Available since: 3.0

Parameters

attr

Type: const char*

The attribute to get.

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

Return value

Type: const char*

The value of the attribute.

The data is owned by the instance.
The value is a NUL terminated UTF-8 string.