createrepo_c library  0.2.1
C library for metadata manipulation
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
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)
 

Detailed Description

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
packagecr_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
packagecr_Package
gchar* cr_package_nevra ( cr_Package package)

Get NEVRA package string

Parameters
packagecr_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
packagecr_Package
Returns
nvra string