![]() |
![]() |
![]() |
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_LIST_FILENAMEvoid pk_common_test ();
gpointer user_datagchar * pk_get_distro_id (void
);gchar * pk_iso8601_from_date (const
);GDate *dategchar * pk_iso8601_present (void
);GDate * pk_iso8601_to_date (const
);gchar *iso_dategchar ** 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_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 |
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 |
Since 0.5.2
gchar ** pk_ptr_array_to_strv ();
GPtrArray *array
Form a composite string array of strings. The data in the GPtrArray is copied.
|
the GPtrArray of strings |
Returns : |
the string array, or NULL |
Since 0.5.2