Add delta.ua - a binary to apply an upgrade of DELTA_FS type.
[platform/core/system/upgrade.git] / src / delta-ua / engine / ss_bspatch_common.h
1 #ifndef _SS_BSPATCH_COMMON_H
2 #define _SS_BSPATCH_COMMON_H 1
3
4 #include <Alloc.h>
5 #include <7zFile.h>
6 #include <7zVersion.h>
7 #include <LzmaDec.h>
8 #include <LzmaEnc.h>
9
10 extern ISzAlloc g_Alloc;
11
12 SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream,
13                 UInt64 *unpackSize, unsigned char *dec_data);
14
15 int apply_patch(const char *oldfile, unsigned char *patch_buffer, unsigned char **dest_buf, ssize_t *dest_size);
16
17 #endif /* _SS_BSPATCH_COMMON_H */