![]() |
![]() |
![]() |
PackageKit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define PK_PACKAGE_IDS_DELIMgchar ** pk_package_ids_add_id (,
gchar **package_idsconst
);gchar *package_idgchar ** pk_package_ids_add_ids (,
gchar **package_ids);
gchar **package_ids_newgboolean pk_package_ids_check ();
gchar **package_idsgchar ** pk_package_ids_from_id (const
);gchar *package_idgchar ** pk_package_ids_from_string (const
); #define pk_package_ids_from_textgchar *package_idgboolean pk_package_ids_present_id (,
gchar **package_idsconst
);gchar *package_idgchar ** pk_package_ids_remove_id (,
gchar **package_idsconst
);gchar *package_idvoid pk_package_ids_test ();
gpointer user_datagchar * pk_package_ids_to_string (); #define pk_package_ids_to_text
gchar **package_ids
gchar ** pk_package_ids_add_id (,
gchar **package_idsconst
);gchar *package_id
Adds a package_id to an existing list.
|
a string array of package_id's |
|
a single package_id |
Returns : |
the new list, free g_strfreev() |
Since 0.5.2
gchar ** pk_package_ids_add_ids (,
gchar **package_ids);
gchar **package_ids_new
Adds a package_id to an existing list.
|
a string array of package_id's |
|
a string array of package_id's |
Returns : |
the new list, free g_strfreev() |
Since 0.5.2
gboolean pk_package_ids_check ();
gchar **package_ids
Check the string array of package_id's for validity
|
a string array of package_id's |
Returns : |
TRUE |
Since 0.5.2
gchar ** pk_package_ids_from_id (const
);gchar *package_id
Form a composite string array of package_id's from a single package_id
|
A single package_id |
Returns : |
the string array, or NULL g_strfreev() |
Since 0.5.2
gchar ** pk_package_ids_from_string (const
);gchar *package_id
Form a composite string array of package_id's from a delimited string
|
A single package_id |
Returns : |
the string array, or NULL g_strfreev() |
Since 0.5.2
gboolean pk_package_ids_present_id (,
gchar **package_idsconst
);gchar *package_id
Finds out if a package ID is present in the list.
|
a string array of package_id's |
|
a single package_id |
Returns : |
TRUE |
Since 0.5.2
gchar ** pk_package_ids_remove_id (,
gchar **package_idsconst
);gchar *package_id
Removes a package ID from the the list.
|
a string array of package_id's |
|
a single package_id |
Returns : |
the new list, free g_strfreev() |
Since 0.5.2
gchar * pk_package_ids_to_string ();
gchar **package_ids
Cats the string array of package_id's into one delimited string
|
a string array of package_id's |
Returns : |
a string representation of all the package_id's. |
Since 0.5.2