Constructor
PackageKitUpdateDetailnew_full
unstable since: 2.0.0
Declaration [src]
PkUpdateDetail*
pk_update_detail_new_full (
const gchar* package_id,
gchar** updates,
gchar** obsoletes,
GPtrArray* issues,
PkRestartEnum restart,
const gchar* update_text,
const gchar* changelog,
PkUpdateStateEnum state,
const gchar* time_issued
)
Description [src]
Creates a new PkUpdateDetail with all its properties set.
Empty and NULL values are treated the same.
Available since: 2.0.0
Parameters
package_id-
Type:
const gchar*The package-id of the update.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. updates-
Type: An array of
gchar*The package-ids that are updated.
The argument can be NULL.The array must be NULL-terminated.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string. obsoletes-
Type: An array of
gchar*The package-ids that are obsoleted.
The argument can be NULL.The array must be NULL-terminated.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string. issues-
Type: An array of
PkIssue*The issue references of this update.
The argument can be NULL.The data is owned by the caller of the function. restart-
Type:
PkRestartEnumThe
PkRestartEnumrequired by this update. update_text-
Type:
const gchar*A description of the update.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. changelog-
Type:
const gchar*The changelog of the update.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. state-
Type:
PkUpdateStateEnumThe
PkUpdateStateEnumof the update. time_issued-
Type:
const gchar*The ISO 8601 time the update was issued.
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: PkUpdateDetail
A new PkUpdateDetail object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |