Librepo library
1.7.13
C library for downloading linux repository metadata and packages
|
Data Structures | |
struct | LrYumRepoPath |
struct | LrYumRepo |
Functions | |
LrYumRepo * | lr_yum_repo_init () |
void | lr_yum_repo_free (LrYumRepo *repo) |
const char * | lr_yum_repo_path (LrYumRepo *repo, const char *type) |
void lr_yum_repo_free | ( | LrYumRepo * | repo | ) |
Free yum repo - free its item and the repo itself.
repo | Yum repo object. |
LrYumRepo* lr_yum_repo_init | ( | ) |
Allocate new yum repo object.
const char* lr_yum_repo_path | ( | LrYumRepo * | repo, |
const char * | type | ||
) |
Retruns path for the file from repository.
repo | Yum repo object. |
type | Type of path. E.g. "primary", "filelists", ... |