20 #ifndef __C_CREATEREPOLIB_DELTARPMS_H__
21 #define __C_CREATEREPOLIB_DELTARPMS_H__
28 #include <rpm/rpmlib.h>
38 #define CR_DELTA_RPM_SUPPORT
39 #define CR_DEFAULT_MAX_DELTA_RPM_SIZE 100000000
55 gint64 size_installed;
61 gboolean cr_drpm_support(
void);
63 #ifdef CR_DELTA_RPM_SUPPORT
71 cr_deltapackage_from_drpm_base(
const char *filename,
80 cr_deltarpms_scan_oldpackagedirs(GSList *oldpackagedirs,
81 gint64 max_delta_rpm_size,
85 cr_deltatargetpackage_from_package(
cr_Package *pkg,
90 cr_deltatargetpackage_from_rpm(
const char *path, GError **err);
96 cr_deltarpms_parallel_deltas(GSList *targetpackages,
97 GHashTable *oldpackages,
98 const char *outdeltadir,
101 gint64 max_delta_rpm_size,
102 gint64 max_work_size,
106 cr_deltarpms_scan_targetdir(
const char *path,
107 gint64 max_delta_rpm_size,
111 cr_deltarpms_generate_prestodelta_file(
const gchar *drpmdir,
115 const gchar *prefix_to_strip,