![]() |
![]() |
![]() |
ZIF Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
ZifMdComps; ZifMdCompsPrivate; ZifMdCompsClass; ZifMdComps * zif_md_comps_new (void
); GPtrArray * zif_md_comps_get_categories (ZifMdComps *md
,ZifState *state
,GError **error
); GPtrArray * zif_md_comps_get_groups_for_category (ZifMdComps *md
,const gchar *category_id
,ZifState *state
,GError **error
); GPtrArray * zif_md_comps_get_packages_for_group (ZifMdComps *md
,const gchar *group_id
,ZifState *state
,GError **error
);
ZifMdComps * zif_md_comps_new (void
);
Returns : |
A new ZifMdComps class instance. |
Since 0.1.0
GPtrArray * zif_md_comps_get_categories (ZifMdComps *md
,ZifState *state
,GError **error
);
Gets the available list of categories.
|
the ZifMdComps object |
|
the ZifState object
|
|
a GError which is used on failure, or NULL
|
Returns : |
ZifCategory array of categories, with parent_id set to NULL
|
Since 0.1.0
GPtrArray * zif_md_comps_get_groups_for_category (ZifMdComps *md
,const gchar *category_id
,ZifState *state
,GError **error
);
Gets the list of groups for a specific category.
|
the ZifMdComps object |
|
the category to search for |
|
the ZifState object
|
|
a GError which is used on failure, or NULL
|
Returns : |
ZifCategory array of groups
|
Since 0.1.0
GPtrArray * zif_md_comps_get_packages_for_group (ZifMdComps *md
,const gchar *group_id
,ZifState *state
,GError **error
);
Gets the package names for a group.
|
the ZifMdComps object |
|
the group to search for |
|
the ZifState object
|
|
a GError which is used on failure, or NULL
|
Returns : |
gchar pointer array of package names (not ZifPackage 's)
|
Since 0.1.0