Librepo library
1.7.13
C library for downloading linux repository metadata and packages
|
Typedefs | |
typedef struct _LrResult | LrResult |
Enumerations | |
enum | LrResultInfoOption { LRR_YUM_REPO, LRR_YUM_REPOMD, LRR_YUM_TIMESTAMP, LRR_SENTINEL } |
Functions | |
LrResult * | lr_result_init () |
void | lr_result_clear (LrResult *result) |
void | lr_result_free (LrResult *result) |
gboolean | lr_result_getinfo (LrResult *result, GError **err, LrResultInfoOption option,...) |
enum LrResultInfoOption |
Result options for lr_result_getinfo.
Enumerator | |
---|---|
LRR_YUM_REPO | |
LRR_YUM_REPOMD |
(LrYumRepoMd *) Reference to LrYumRepoMd in result |
LRR_YUM_TIMESTAMP |
(gint64) The highest timestamp from repomd.xml. See: https://github.com/Tojaj/librepo/issues/25 See: http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=59d3d67f |
void lr_result_clear | ( | LrResult * | result | ) |
Clean result object.
result | Result object. |
void lr_result_free | ( | LrResult * | result | ) |
Free result object.
result | Result object. |
gboolean lr_result_getinfo | ( | LrResult * | result, |
GError ** | err, | ||
LrResultInfoOption | option, | ||
... | |||
) |
Get information about downloaded/localised repository from result object.
result | Result object. |
err | GError ** |
option | Option from LrResultInfoOption enum. |
... | Apropriate variable for the selected option. |