drpm
A library for making, reading and applying deltarpm packages
Functions
DRPM Check

Tools for checking if the reconstruction is possible (like applydeltarpm { -c | -C }). More...

Functions

int drpm_check (const char *deltarpm, int checkmode)
 Checks if the reconstruction is possible based on DeltaRPM file. More...
 
int drpm_check_sequence (const char *oldrpm, const char *sequence, int checkmode)
 Checks if the reconstruction is possible based on sequence ID. More...
 

Detailed Description

Tools for checking if the reconstruction is possible (like applydeltarpm { -c | -C }).

Function Documentation

int drpm_check ( const char *  deltarpm,
int  checkmode 
)

Checks if the reconstruction is possible based on DeltaRPM file.

Parameters
[in]deltarpmName of DeltaRPM file.
[in]checkmodeFull check or filesize changes only.
Returns
Error code.
See also
DRPM_CHECK_FULL, DRPM_CHECK_FILESIZES
int drpm_check_sequence ( const char *  oldrpm,
const char *  sequence,
int  checkmode 
)

Checks if the reconstruction is possible based on sequence ID.

Parameters
[in]oldrpmName of old RPM file (if NULL, filesystem data is used).
[in]sequenceSequence ID of the DeltaRPM.
[in]checkmodeFull check or filesize changes only.
Returns
Error code.
See also
DRPM_CHECK_FULL, DRPM_CHECK_FILESIZES