Method

AppStreamReleaseadd_tag

Declaration [src]

gboolean
as_release_add_tag (
  AsRelease* release,
  const gchar* ns,
  const gchar* tag
)

Description [src]

Add a tag to this release.

Available since:1.0.0

Parameters

ns const gchar*
 

The namespace the tag belongs to.

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

The tag name.

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

Return value

Returns: gboolean
 

TRUE if the tag was added.