Method

PurpleXmlNodeset_attrib

unstable since: 3.0

Declaration [src]

void
purple_xmlnode_set_attrib (
  PurpleXmlNode* node,
  const char* attr,
  const char* value
)

Description [src]

Sets an attribute for a node.

Available since: 3.0

Parameters

attr

Type: const char*

The name of the attribute.

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

Type: const char*

The value of the attribute.

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