mirror of
https://github.com/clearlinux/bsdiff.git
synced 2026-04-28 19:03:47 +00:00
20 lines
429 B
C
20 lines
429 B
C
#ifndef __INCLUDE_GUARD_BSDIFF_H
|
|
#define __INCLUDE_GUARD_BSDIFF_H
|
|
|
|
/* encodings */
|
|
enum BSDIFF_ENCODINGS {
|
|
BSDIFF_ENC_ANY,
|
|
BSDIFF_ENC_NONE,
|
|
BSDIFF_ENC_BZIP2,
|
|
BSDIFF_ENC_GZIP,
|
|
BSDIFF_ENC_XZ,
|
|
BSDIFF_ENC_ZEROS,
|
|
BSDIFF_ENC_LAST
|
|
};
|
|
|
|
/* API definition */
|
|
int make_bsdiff_delta(char *old_filename, char *new_filename, char *delta_filename, int enc);
|
|
int apply_bsdiff_delta(char *oldfile, char *newfile, char *deltafile);
|
|
|
|
#endif
|