From 8d2d6f4ca5ea75c9708f303c8b58aafe4b86de23 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 8 Apr 2020 14:39:30 -0400 Subject: 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 --- rbutil/bspatch/bspatch.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rbutil/bspatch/bspatch.h (limited to 'rbutil/bspatch/bspatch.h') 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 @@ +/* + * Simple wrapper for the bspatch entry point. + */ + +#ifndef _BSPATCH_H +#define _BSPATCH_H + +int apply_bspatch(const char *infile, const char *outfile, const char *patchfile); + +#endif /* _BSPATCH_H */ -- cgit v1.2.3