|
Librepo library 1.20.0
C library for downloading linux repository metadata and packages
|
Data Structures | |
| struct | LrYumDistroTag |
| struct | LrYumRepoMdRecord |
| struct | LrYumRepoMd |
Functions | |
| LrYumRepoMd * | lr_yum_repomd_init (void) |
| void | lr_yum_repomd_free (LrYumRepoMd *repomd) |
| gboolean | lr_yum_repomd_parse_file (LrYumRepoMd *repomd, int fd, LrXmlParserWarningCb warningcb, void *warningcb_data, GError **err) |
| LrYumRepoMdRecord * | lr_yum_repomd_get_record (LrYumRepoMd *repomd, const char *type) |
| gint64 | lr_yum_repomd_get_highest_timestamp (LrYumRepoMd *repomd, GError **err) |
| void lr_yum_repomd_free | ( | LrYumRepoMd * | repomd | ) |
Free repomd content and repomd object itself.
| repomd | Repomd object. |
| gint64 lr_yum_repomd_get_highest_timestamp | ( | LrYumRepoMd * | repomd, |
| GError ** | err | ||
| ) |
Get the highest timestamp from repomd records.
| repomd | Repomd record. |
| err | GError ** |
| LrYumRepoMdRecord * lr_yum_repomd_get_record | ( | LrYumRepoMd * | repomd, |
| const char * | type | ||
| ) |
Get repomd record from the repomd object.
| repomd | Repomd record. |
| type | Type of record e.g. "primary", "filelists", ... |
| LrYumRepoMd * lr_yum_repomd_init | ( | void | ) |
Create new empty repomd object.
| gboolean lr_yum_repomd_parse_file | ( | LrYumRepoMd * | repomd, |
| int | fd, | ||
| LrXmlParserWarningCb | warningcb, | ||
| void * | warningcb_data, | ||
| GError ** | err | ||
| ) |
Parse repomd.xml file.
| repomd | Empty repomd object. |
| fd | File descriptor. |
| warningcb | Callback for warnings |
| warningcb_data | Warning callback user data |
| err | GError ** |