|
|
|
|
PackageKit Reference Manual |
|
|---|---|---|---|---|
| Top | Description | ||||
#define
PK_DBUS_INTERFACE
#define
PK_DBUS_INTERFACE_TRANSACTION
#define
PK_DBUS_PATH
#define
PK_DBUS_SERVICE
#define
PK_SERVICE_PACK_GROUP_NAME
#define
PK_SYSTEM_PACKAGE_CACHE_FILENAME
#define
PK_SYSTEM_PACKAGE_LIST_FILENAME
void
pk_common_test
(
gpointer
user_data
);
gchar
*
pk_get_distro_id
(
void
);
gchar
*
pk_iso8601_from_date
(
const
GDate
*date
);
gchar
*
pk_iso8601_present
(
void
);
GDate
*
pk_iso8601_to_date
(
const
gchar
*iso_date
);
gchar
**
pk_ptr_array_to_strv
(
GPtrArray
*array
);
#define PK_DBUS_INTERFACE_TRANSACTION "org.freedesktop.PackageKit.Transaction"
The DBUS interface for the transactions
#define PK_SERVICE_PACK_GROUP_NAME "PackageKit Service Pack"
The group name of the Service Pack config file
#define PK_SYSTEM_PACKAGE_CACHE_FILENAME "/var/lib/PackageKit/package-cache.db"
#define PK_SYSTEM_PACKAGE_LIST_FILENAME "/var/lib/PackageKit/system.package-list"
gchar
* pk_get_distro_id (
void
);
|
Returns : |
the distro-id, typically "distro;version;arch" |
gchar
* pk_iso8601_from_date (
const
GDate
*date
);
|
|
a
GDate
to convert
|
|
Returns : |
If valid then a new ISO8601 date, else NULL |
Since 0.5.2
gchar
* pk_iso8601_present (
void
);
|
Returns : |
The current iso8601 date and time |
Since 0.5.2
GDate
* pk_iso8601_to_date (
const
gchar
*iso_date
);
|
|
The ISO8601 date to convert |
|
Returns : |
If valid then a new
GDate
, else NULL
|
Since 0.5.2