![]() |
![]() |
![]() |
ZIF Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
ZifMdUpdateinfo; ZifMdUpdateinfoPrivate; ZifMdUpdateinfoClass; ZifMdUpdateinfo * zif_md_updateinfo_new (void
); GPtrArray * zif_md_updateinfo_get_detail (ZifMdUpdateinfo *md
,ZifState *state
,GError **error
); GPtrArray * zif_md_updateinfo_get_detail_for_package (ZifMdUpdateinfo *md
,const gchar *package_id
,ZifState *state
,GError **error
);
typedef struct _ZifMdUpdateinfoPrivate ZifMdUpdateinfoPrivate;
Private ZifMdUpdateinfo data
ZifMdUpdateinfo * zif_md_updateinfo_new (void
);
Returns : |
A new ZifMdUpdateinfo class instance. |
Since 0.1.0
GPtrArray * zif_md_updateinfo_get_detail (ZifMdUpdateinfo *md
,ZifState *state
,GError **error
);
Gets all the available update data.
|
the ZifMdUpdateinfo object |
|
the ZifState object
|
|
a GError which is used on failure, or NULL
|
Returns : |
GPtrArray of ZifUpdate's, free with g_ptr_array_unref()
|
Since 0.1.0
GPtrArray * zif_md_updateinfo_get_detail_for_package (ZifMdUpdateinfo *md
,const gchar *package_id
,ZifState *state
,GError **error
);
Gets the list of update details for the package_id.
|
the ZifMdUpdateinfo object |
|
the group to search for |
|
the ZifState object
|
|
a GError which is used on failure, or NULL
|
Returns : |
GPtrArray of ZifUpdate's, free with g_ptr_array_unref()
|
Since 0.1.0