ZIF Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
struct ZifMdMetalink; struct ZifMdMetalinkClass; ZifMd * zif_md_metalink_new (void
); GPtrArray * zif_md_metalink_get_uris (ZifMdMetalink *md
,guint threshold
,ZifState *state
,GError **error
);
struct ZifMdMetalinkClass { ZifMdClass parent_class; /* Padding for future expansion */ void (*_zif_reserved1) (void); void (*_zif_reserved2) (void); void (*_zif_reserved3) (void); void (*_zif_reserved4) (void); };
ZifMd * zif_md_metalink_new (void
);
Returns : |
A new ZifMdMetalink instance. |
Since 0.1.0
GPtrArray * zif_md_metalink_get_uris (ZifMdMetalink *md
,guint threshold
,ZifState *state
,GError **error
);
Finds all mirrors we should use.
|
A ZifMdMetalink |
|
A threshold in percent |
|
A ZifState to use for progress reporting |
|
A GError, or NULL
|
Returns : |
The URIs as an array of strings. [element-type utf8][transfer container] |
Since 0.1.0