Function

PackageKitIssuenew

unstable since: 2.0.0

Declaration [src]

PkIssue*
pk_issue_new (
  PkIssueKindEnum kind,
  const gchar* url,
  const gchar* id,
  const gchar* title
)

Description [src]

Creates a new issue reference.

Available since: 2.0.0

Parameters

kind

Type: PkIssueKindEnum

The issue kind.

url

Type: const gchar*

Where a user can read about the issue.

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

Type: const gchar*

A short identifier for display, e.g. 1234567 or CVE-2026-0001.

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

Type: const gchar*

A one-line summary of the issue.

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

Return value

Type: PkIssue

A new PkIssue.

The caller of the function takes ownership of the data, and is responsible for freeing it.