Function
PackageKitFilenew
unstable since: 2.0.0
Declaration [src]
PkFile*
pk_file_new (
const gchar* path,
PkFileKindEnum kind
)
Parameters
path-
Type:
const gchar*The absolute path.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. kind-
Type:
PkFileKindEnumWhat the entry is.
Return value
Type: PkFile
A new PkFile.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |