summaryrefslogtreecommitdiffstats
path: root/utils/bspatch/bspatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/bspatch/bspatch.h')
-rw-r--r--utils/bspatch/bspatch.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/utils/bspatch/bspatch.h b/utils/bspatch/bspatch.h
new file mode 100644
index 0000000000..46edd5db0c
--- /dev/null
+++ b/utils/bspatch/bspatch.h
@@ -0,0 +1,19 @@
+/*
+ * Simple wrapper for the bspatch entry point.
+ */
+
+#ifndef _BSPATCH_H
+#define _BSPATCH_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int apply_bspatch(const char *infile, const char *outfile, const char *patchfile);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif /* _BSPATCH_H */