Method

PurpleTagsget

unstable since: 3.0

Declaration [src]

const gchar*
purple_tags_get (
  PurpleTags* tags,
  const gchar* name
)

Description [src]

Gets the first tag that matches name.

Available since: 3.0

Parameters

name

Type: const gchar*

The name of the tag to get.

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

Return value

Type: const gchar*

The value of the first tag matching name. If there is no value, NULL is returned.

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