ZifMdUpdateinfo

ZifMdUpdateinfo — Updateinfo metadata functionality

Synopsis

                    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);

Object Hierarchy

  GObject
   +----ZifMd
         +----ZifMdUpdateinfo

Description

Provide access to the updateinfo repo metadata. This object is a subclass of ZifMd

Details

ZifMdUpdateinfo

typedef struct _ZifMdUpdateinfo ZifMdUpdateinfo;


ZifMdUpdateinfoPrivate

typedef struct _ZifMdUpdateinfoPrivate ZifMdUpdateinfoPrivate;

Private ZifMdUpdateinfo data


ZifMdUpdateinfoClass

typedef struct {
	ZifMdClass			 parent_class;
} ZifMdUpdateinfoClass;


zif_md_updateinfo_new ()

ZifMdUpdateinfo *   zif_md_updateinfo_new               (void);

Returns :

A new ZifMdUpdateinfo class instance.

Since 0.1.0


zif_md_updateinfo_get_detail ()

GPtrArray *         zif_md_updateinfo_get_detail        (ZifMdUpdateinfo *md,
                                                         ZifState *state,
                                                         GError **error);

Gets all the available update data.

md :

the ZifMdUpdateinfo object

state :

the ZifState object

error :

a GError which is used on failure, or NULL

Returns :

GPtrArray of ZifUpdate's, free with g_ptr_array_unref()

Since 0.1.0


zif_md_updateinfo_get_detail_for_package ()

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.

md :

the ZifMdUpdateinfo object

package_id :

the group to search for

state :

the ZifState object

error :

a GError which is used on failure, or NULL

Returns :

GPtrArray of ZifUpdate's, free with g_ptr_array_unref()

Since 0.1.0