createrepo_c library  0.9.1
C library for metadata manipulation
cr_Package Struct Reference

#include <package.h>

Data Fields

gint64 pkgKey
 
char * pkgId
 
char * name
 
char * arch
 
char * version
 
char * epoch
 
char * release
 
char * summary
 
char * description
 
char * url
 
gint64 time_file
 
gint64 time_build
 
char * rpm_license
 
char * rpm_vendor
 
char * rpm_group
 
char * rpm_buildhost
 
char * rpm_sourcerpm
 
gint64 rpm_header_start
 
gint64 rpm_header_end
 
char * rpm_packager
 
gint64 size_package
 
gint64 size_installed
 
gint64 size_archive
 
char * location_href
 
char * location_base
 
char * checksum_type
 
GSList * requires
 
GSList * provides
 
GSList * conflicts
 
GSList * obsoletes
 
GSList * suggests
 
GSList * enhances
 
GSList * recommends
 
GSList * supplements
 
GSList * files
 
GSList * changelogs
 
char * hdrid
 
cr_BinaryDatasiggpg
 
cr_BinaryDatasigpgp
 
GStringChunk * chunk
 
cr_PackageLoadingFlags loadingflags
 

Detailed Description

Package

Definition at line 83 of file package.h.

Field Documentation

char* arch

architecture

Definition at line 87 of file package.h.

GSList* changelogs

changelogs (list of cr_ChangelogEntry structs)

Definition at line 126 of file package.h.

char* checksum_type

type of checksum used ("sha1", "sha256", "md5", ..)

Definition at line 112 of file package.h.

GStringChunk* chunk

string chunk for store all package strings on the single place

Definition at line 133 of file package.h.

GSList* conflicts

conflicts (list of cr_Dependency structs)

Definition at line 117 of file package.h.

char* description

description

Definition at line 92 of file package.h.

GSList* enhances

enhances (list of cr_Dependency structs)

Definition at line 120 of file package.h.

char* epoch

epoch

Definition at line 89 of file package.h.

GSList* files

files in the package (list of cr_PackageFile structs)

Definition at line 124 of file package.h.

cr_PackageLoadingFlags loadingflags

Bitfield flags with information about package loading

Definition at line 136 of file package.h.

char* location_base

location (url) of repository

Definition at line 111 of file package.h.

char* location_href

file location inside repository

Definition at line 110 of file package.h.

char* name

name

Definition at line 86 of file package.h.

GSList* obsoletes

obsoletes (list of cr_Dependency structs)

Definition at line 118 of file package.h.

char* pkgId

package hash

Definition at line 85 of file package.h.

gint64 pkgKey

used while inserting into sqlite db

Definition at line 84 of file package.h.

GSList* provides

provides (list of cr_Dependency structs)

Definition at line 116 of file package.h.

GSList* recommends

recommends (list of cr_Dependency structs)

Definition at line 121 of file package.h.

char* release

release

Definition at line 90 of file package.h.

GSList* requires

requires (list of cr_Dependency structs)

Definition at line 115 of file package.h.

char* rpm_buildhost

hostname of machine which builds the package

Definition at line 100 of file package.h.

char* rpm_group

group (one value from /usr/share/doc/rpm- (your_rpm_version)/GROUPS)

Definition at line 98 of file package.h.

gint64 rpm_header_end

end byte of header in rpm

Definition at line 104 of file package.h.

gint64 rpm_header_start

start byte of header in rpm

Definition at line 103 of file package.h.

char* rpm_license

license

Definition at line 96 of file package.h.

char* rpm_packager

packager of package

Definition at line 105 of file package.h.

char* rpm_sourcerpm

name of srpms

Definition at line 102 of file package.h.

char* rpm_vendor

vendor

Definition at line 97 of file package.h.

gint64 size_archive

size of archive (I have no idea what does it mean)

Definition at line 108 of file package.h.

gint64 size_installed

size of installed files

Definition at line 107 of file package.h.

gint64 size_package

size of rpm package

Definition at line 106 of file package.h.

GSList* suggests

suggests (list of cr_Dependency structs)

Definition at line 119 of file package.h.

char* summary

summary

Definition at line 91 of file package.h.

GSList* supplements

supplements (list of cr_Dependency structs)

Definition at line 122 of file package.h.

gint64 time_build

build time (from rpm header)

Definition at line 95 of file package.h.

gint64 time_file

mtime of file

Definition at line 94 of file package.h.

char* url

package homepage

Definition at line 93 of file package.h.

char* version

version

Definition at line 88 of file package.h.


The documentation for this struct was generated from the following file: