| Top |
| #define | PK_PACKAGE_ID_NAME |
| #define | PK_PACKAGE_ID_VERSION |
| #define | PK_PACKAGE_ID_ARCH |
| #define | PK_PACKAGE_ID_DATA |
gchar * pk_package_id_build (const gchar *name,const gchar *version,const gchar *arch,const gchar *data);
name |
the package name |
|
version |
the package version |
|
arch |
the package architecture |
|
data |
the package extra data |
Since 0.5.0
gchar **
pk_package_id_split (const gchar *package_id);
Splits a PackageID into the correct number of parts, checking the correct number of delimiters are present.
Since 0.5.3
gchar *
pk_package_id_to_printable (const gchar *package_id);
Formats the PackageID to be printable to the user.
Since 0.5.2
#define PK_PACKAGE_ID_NAME 0
Alias to get a name field from the result of pk_package_id_split
#define PK_PACKAGE_ID_VERSION 1
Alias to get a version field from the result of pk_package_id_split
#define PK_PACKAGE_ID_ARCH 2
Alias to get an arch field from the result of pk_package_id_split