Initial commit

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
Patrick McCarty
2016-02-16 11:57:55 -08:00
commit 285133f334
46 changed files with 25445 additions and 0 deletions
+19
View File
@@ -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