Package representation.

Data Structures

struct  cr_Dependency
struct  cr_PackageFile
struct  cr_ChangelogEntry
struct  cr_Package

Functions

cr_Dependencycr_dependency_new (void)
cr_PackageFilecr_package_file_new (void)
cr_ChangelogEntrycr_changelog_entry_new (void)
cr_Packagecr_package_new (void)
cr_Packagecr_package_new_without_chunk (void)
void cr_package_free (cr_Package *package)
gchar * cr_package_nvra (cr_Package *package)
gchar * cr_package_nevra (cr_Package *package)
cr_Packagecr_package_copy (cr_Package *package)

Function Documentation

cr_ChangelogEntry* cr_changelog_entry_new ( void   ) 

Create new (empty) changelog structure.

Returns:
new empty cr_ChangelogEntry
cr_Dependency* cr_dependency_new ( void   ) 

Create new (empty) dependency structure.

Returns:
new empty cr_Dependency
cr_Package* cr_package_copy ( cr_Package package  ) 

Create a standalone copy of the package.

Parameters:
package cr_Package
Returns:
copy of the package
cr_PackageFile* cr_package_file_new ( void   ) 

Create new (empty) package file structure.

Returns:
new emtpy cr_PackageFile
void cr_package_free ( cr_Package package  ) 

Free package structure and all its structures.

Parameters:
package cr_Package
gchar* cr_package_nevra ( cr_Package package  ) 

Get NEVRA package string

Parameters:
package cr_Package
Returns:
nevra string
cr_Package* cr_package_new ( void   ) 

Create new (empty) package structure.

Returns:
new empty cr_Package
cr_Package* cr_package_new_without_chunk ( void   ) 

Create new (empty) package structure without initialized string chunk.

Returns:
new empty cr_Package
gchar* cr_package_nvra ( cr_Package package  ) 

Get NVRA package string

Parameters:
package cr_Package
Returns:
nvra string

Generated on 14 Aug 2013 for createrepo_c library by  doxygen 1.6.1