drpm: DRPM Check

drpm A library for making, reading and applying deltarpm packages

Loading...
Searching...
No Matches
Functions
DRPM Check
DRPM Apply

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] | deltarpm | Name of DeltaRPM file.
  [in] | checkmode | Full 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] | oldrpm | Name of old RPM file (if `NULL`, filesystem data is used).
  [in] | sequence | Sequence ID of the DeltaRPM.
  [in] | checkmode | Full check or filesize changes only.

Returns
  Error code.

See also
  DRPM_CHECK_FULL, DRPM_CHECK_FILESIZES