drpm
A library for making, reading and applying deltarpm packages
Loading...
Searching...
No Matches
DRPM Check

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

Functions

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

Detailed Description

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

Function Documentation

◆ drpm_check()

DRPM_VISIBLE 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

◆ drpm_check_sequence()

DRPM_VISIBLE 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