#include "bspatch.h"
#include <bzlib.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
|
| int | bspatch_mem (const uint8_t *oldfile_bin, const int64_t oldfile_size, const uint8_t *patchfile_bin, const int64_t patchfile_size, uint8_t *newfile_bin) |
| |
| int64_t | bspatch_mem_get_newsize (const uint8_t *patchfile_bin, const int64_t patchfile_size) |
| |
| static int64_t | offtin (const uint8_t *buf) |
| |
◆ block_type
| Enumerator |
|---|
| CONTROL_BLOCK | |
| DIFF_BLOCK | |
| EXTRA_BLOCK | |
| NUM_BLOCKS | |
Definition at line 34 of file bspatch.c.
◆ bspatch_mem()
| int bspatch_mem |
( |
const uint8_t * |
oldfile_bin, |
|
|
const int64_t |
oldfile_size, |
|
|
const uint8_t * |
patchfile_bin, |
|
|
const int64_t |
patchfile_size, |
|
|
uint8_t * |
newfile_bin |
|
) |
| |
◆ bspatch_mem_get_newsize()
| int64_t bspatch_mem_get_newsize |
( |
const uint8_t * |
patchfile_bin, |
|
|
const int64_t |
patchfile_size |
|
) |
| |
◆ offtin()
| static int64_t offtin |
( |
const uint8_t * |
buf | ) |
|
|
static |