mirror of
https://github.com/clearlinux/bsdiff.git
synced 2026-08-26 09:36:00 +00:00
Initial commit
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user