| ZIF Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
struct ZifMdUpdateinfo; ZifMdUpdateinfoPrivate; struct ZifMdUpdateinfoClass; ZifMd * 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
ZifMd * zif_md_updateinfo_new (void);
Returns : |
A new ZifMdUpdateinfo instance. |
Since 0.1.0
GPtrArray * zif_md_updateinfo_get_detail (ZifMdUpdateinfo *md,ZifState *state,GError **error);
Gets all the available update data.
|
A ZifMdUpdateinfo |
|
A ZifState
|
|
A GError, 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.
|
A ZifMdUpdateinfo |
|
The package ID to use |
|
A ZifState
|
|
A GError, or NULL
|
Returns : |
GPtrArray of ZifUpdate's, free with g_ptr_array_unref()
|
Since 0.1.0