createrepo_c library
0.9.1
C library for metadata manipulation
|
Enumerations | |
enum | cr_HeaderReadingFlags { CR_HDRR_NONE = (1 << 0), CR_HDRR_LOADHDRID = (1 << 1), CR_HDRR_LOADSIGNATURES = (1 << 2) } |
Functions | |
cr_Package * | cr_package_from_header (Header hdr, int changelog_limit, cr_HeaderReadingFlags flags, GError **err) |
Flags
Enumerator | |
---|---|
CR_HDRR_LOADHDRID |
Load hdrid |
CR_HDRR_LOADSIGNATURES |
Load siggpg and siggpg |
Definition at line 38 of file parsehdr.h.
cr_Package* cr_package_from_header | ( | Header | hdr, |
int | changelog_limit, | ||
cr_HeaderReadingFlags | flags, | ||
GError ** | err | ||
) |
Read data from header and return filled cr_Package structure. All const char * params could be NULL.
hdr | Header |
changelog_limit | number of changelog entries |
flags | Flags for header reading |
err | GError ** |