Librepo library  1.7.13
C library for downloading linux repository metadata and packages
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules
Yum repo manipulation

Data Structures

struct  LrYumRepoPath
 
struct  LrYumRepo
 

Functions

LrYumRepolr_yum_repo_init ()
 
void lr_yum_repo_free (LrYumRepo *repo)
 
const char * lr_yum_repo_path (LrYumRepo *repo, const char *type)
 

Detailed Description

Function Documentation

void lr_yum_repo_free ( LrYumRepo repo)

Free yum repo - free its item and the repo itself.

Parameters
repoYum repo object.
LrYumRepo* lr_yum_repo_init ( )

Allocate new yum repo object.

Returns
New yum repo object.
const char* lr_yum_repo_path ( LrYumRepo repo,
const char *  type 
)

Retruns path for the file from repository.

Parameters
repoYum repo object.
typeType of path. E.g. "primary", "filelists", ...
Returns
Path or NULL.