Functions | |
| cr_Package * | cr_package_from_header (Header hdr, gint64 mtime, gint64 size, const char *checksum, const char *checksum_type, const char *location_href, const char *location_base, int changelog_limit, gint64 hdr_start, gint64 hdr_end, GError **err) |
| struct cr_XmlStruct | cr_xml_from_header (Header hdr, gint64 mtime, gint64 size, const char *checksum, const char *checksum_type, const char *location_href, const char *location_base, int changelog_limit, gint64 hdr_start, gint64 hdr_end, GError **err) |
| cr_Package* cr_package_from_header | ( | Header | hdr, | |
| gint64 | mtime, | |||
| gint64 | size, | |||
| const char * | checksum, | |||
| const char * | checksum_type, | |||
| const char * | location_href, | |||
| const char * | location_base, | |||
| int | changelog_limit, | |||
| gint64 | hdr_start, | |||
| gint64 | hdr_end, | |||
| GError ** | err | |||
| ) |
Read data from header and return filled cr_Package structure. All const char * params could be NULL.
| hdr | Header | |
| mtime | mtime of rpm file | |
| size | size of rpm file (in bytes) | |
| checksum | checksum of rpm file | |
| checksum_type | used checksum algorithm | |
| location_href | location of package inside repository | |
| location_base | location (url) of repository | |
| changelog_limit | number of changelog entries | |
| hdr_start | start byte of header | |
| hdr_end | last byte of header | |
| err | GError ** |
| struct cr_XmlStruct cr_xml_from_header | ( | Header | hdr, | |
| gint64 | mtime, | |||
| gint64 | size, | |||
| const char * | checksum, | |||
| const char * | checksum_type, | |||
| const char * | location_href, | |||
| const char * | location_base, | |||
| int | changelog_limit, | |||
| gint64 | hdr_start, | |||
| gint64 | hdr_end, | |||
| GError ** | err | |||
| ) | [read] |
Read data from header and return struct cr_XmlStruct. All const char * params could be NULL.
| hdr | Header | |
| mtime | mtime of rpm file | |
| size | size of rpm file (in bytes) | |
| checksum | checksum of rpm file | |
| checksum_type | used checksum algorithm | |
| location_href | location of package inside repository | |
| location_base | location (url) of repository | |
| changelog_limit | number of changelog entries | |
| hdr_start | start byte of header | |
| hdr_end | last byte of header | |
| err | GError ** |
1.6.1