createrepo_c library  0.1.17
C library for metadata manipulation
 Vše Třídy Funkce Proměnné Definice typů Výčty Hodnoty výčtu Skupiny Stránky
Package representation.

Datové struktry

struct  cr_Dependency
struct  cr_PackageFile
struct  cr_ChangelogEntry
struct  cr_Package

Funkce

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)

Detailní popis


Dokumentace funkcí

cr_ChangelogEntry* cr_changelog_entry_new ( void  )

Create new (empty) changelog structure.

Návratová hodnota:
new empty cr_ChangelogEntry
cr_Dependency* cr_dependency_new ( void  )

Create new (empty) dependency structure.

Návratová hodnota:
new empty cr_Dependency
cr_PackageFile* cr_package_file_new ( void  )

Create new (empty) package file structure.

Návratová hodnota:
new emtpy cr_PackageFile
void cr_package_free ( cr_Package package)

Free package structure and all its structures.

Parametry:
packagecr_Package
gchar* cr_package_nevra ( cr_Package package)

Get NEVRA package string

Parametry:
packagecr_Package
Návratová hodnota:
nevra string
cr_Package* cr_package_new ( void  )

Create new (empty) package structure.

Návratová hodnota:
new empty cr_Package
cr_Package* cr_package_new_without_chunk ( void  )

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

Návratová hodnota:
new empty cr_Package
gchar* cr_package_nvra ( cr_Package package)

Get NVRA package string

Parametry:
packagecr_Package
Návratová hodnota:
nvra string