summaryrefslogtreecommitdiff
path: root/rbutil/bspatch/bspatch.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-04-08 14:39:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-04-09 02:24:49 +0200
commit8d2d6f4ca5ea75c9708f303c8b58aafe4b86de23 (patch)
treecf59d68f5ac17879ac836710d10fcc7c19cc519f /rbutil/bspatch/bspatch.h
parent5cdfe30e797a012dfad4bd32f5036a01cf704876 (diff)
downloadrockbox-8d2d6f4ca5ea75c9708f303c8b58aafe4b86de23.tar.gz
rockbox-8d2d6f4ca5ea75c9708f303c8b58aafe4b86de23.zip
rbutil: Add bspatch and libbzip2
This is to enable binary patching of Hiby-based firmware files Note that noting in rbutil uses this yet. Change-Id: I03ac824dd7402d508eb4e857ad78f184eb0d0243
Diffstat (limited to 'rbutil/bspatch/bspatch.h')
-rw-r--r--rbutil/bspatch/bspatch.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/rbutil/bspatch/bspatch.h b/rbutil/bspatch/bspatch.h
new file mode 100644
index 0000000000..666b460647
--- /dev/null
+++ b/rbutil/bspatch/bspatch.h
@@ -0,0 +1,10 @@
1/*
2 * Simple wrapper for the bspatch entry point.
3 */
4
5#ifndef _BSPATCH_H
6#define _BSPATCH_H
7
8int apply_bspatch(const char *infile, const char *outfile, const char *patchfile);
9
10#endif /* _BSPATCH_H */