| drpm
    A library for making, reading and applying deltarpm packages | 
Go to the source code of this file.
| Typedefs | |
| typedef struct drpm | drpm | 
| DeltaRPM package info. | |
| typedef struct drpm_make_options | drpm_make_options | 
| Options for drpm_make() | |
| Functions | |
| DRPM_VISIBLE int | drpm_apply (const char *oldrpm, const char *deltarpm, const char *newrpm) | 
| Applies a DeltaRPM to an old RPM or on-disk data to re-create a new RPM. | |
| 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. | |
| DRPM_VISIBLE int | drpm_destroy (drpm **delta) | 
| Frees memory allocated by drpm_read(). | |
| DRPM_VISIBLE int | drpm_get_string (drpm *delta, int tag, char **target) | 
| Fetches information representable as a string. | |
| DRPM_VISIBLE int | drpm_get_uint (drpm *delta, int tag, unsigned *target) | 
| Fetches information representable as an unsigned integer. | |
| DRPM_VISIBLE int | drpm_get_ullong (drpm *delta, int tag, unsigned long long *target) | 
| Fetches information representable as an unsigned long long integer. | |
| DRPM_VISIBLE int | drpm_get_ulong (drpm *delta, int tag, unsigned long *target) | 
| Fetches information representable as an unsigned long integer. | |
| DRPM_VISIBLE int | drpm_get_ulong_array (drpm *delta, int tag, unsigned long **target, unsigned long *size) | 
| Fetches information representable as an array of unsigned long integers. | |
| DRPM_VISIBLE int | drpm_make (const char *oldrpm, const char *newrpm, const char *deltarpm, const drpm_make_options *opts) | 
| Creates a DeltaRPM from two RPMs. | |
| DRPM_VISIBLE int | drpm_make_options_add_patches (drpm_make_options *opts, const char *oldrpmprint, const char *oldpatchrpm) | 
| Requests incorporation of RPM patch files for the old RPM. | |
| DRPM_VISIBLE int | drpm_make_options_copy (drpm_make_options *dst, const drpm_make_options *src) | 
| Copies drpm_make_options. | |
| DRPM_VISIBLE int | drpm_make_options_defaults (drpm_make_options *opts) | 
| Resets options to default values. | |
| DRPM_VISIBLE int | drpm_make_options_destroy (drpm_make_options **opts) | 
| Frees drpm_make_options. | |
| DRPM_VISIBLE int | drpm_make_options_forbid_addblk (drpm_make_options *opts) | 
| Forbids add block creation. | |
| DRPM_VISIBLE int | drpm_make_options_get_delta_comp_from_rpm (drpm_make_options *opts) | 
| DeltaRPM compression method is the same as used in the new RPM. | |
| DRPM_VISIBLE int | drpm_make_options_init (drpm_make_options **opts) | 
| Initializes drpm_make_options with default options. | |
| DRPM_VISIBLE int | drpm_make_options_set_addblk_comp (drpm_make_options *opts, unsigned short comp, unsigned short level) | 
| Sets add block compression type and level. | |
| DRPM_VISIBLE int | drpm_make_options_set_delta_comp (drpm_make_options *opts, unsigned short comp, unsigned short level) | 
| Sets DeltaRPM compression type and level. | |
| DRPM_VISIBLE int | drpm_make_options_set_seqfile (drpm_make_options *opts, const char *seqfile) | 
| Specifies file to which to write DeltaRPM sequence ID. | |
| DRPM_VISIBLE int | drpm_make_options_set_type (drpm_make_options *opts, unsigned short type) | 
| Sets DeltaRPM type. | |
| DRPM_VISIBLE int | drpm_make_options_set_version (drpm_make_options *opts, unsigned short version) | 
| Sets DeltaRPM version. | |
| DRPM_VISIBLE int | drpm_read (drpm **delta, const char *filename) | 
| Reads information from a DeltaRPM. | |
| DRPM_VISIBLE const char * | drpm_strerror (int error) | 
| Returns description of error code as a string. | |
| DRPM_VISIBLE const char * drpm_strerror | ( | int | error | ) | 
Returns description of error code as a string.
Works very similarly to strerror(3).
| [in] | error | error code |