Method

PurpleTagsadd_with_value

since: 3.0

Declaration [src]

void
purple_tags_add_with_value (
  PurpleTags* tags,
  const char* name,
  const char* value
)

Description [src]

Formats name and value into a tag and adds it to tags. If the tag already exists, the existing tag will be replaced.

Available since: 3.0

Parameters

name

Type: const char*

The name of the tag.

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

Type: const char*

The value of the tag.

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