summaryrefslogtreecommitdiff
path: root/src/include/cbfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cbfs.h')
-rw-r--r--src/include/cbfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cbfs.h b/src/include/cbfs.h
index 05ce2f7f31..1d7917cf31 100644
--- a/src/include/cbfs.h
+++ b/src/include/cbfs.h
@@ -60,6 +60,8 @@ void *cbfs_load_stage_by_offset(struct cbfs_media *media, ssize_t offset);
/* Load a stage from a prog structure. Returns < 0 on error. 0 on success. */
struct prog;
int cbfs_load_prog_stage(struct cbfs_media *media, struct prog *prog);
+int cbfs_load_prog_stage_by_offset(struct cbfs_media *media,
+ struct prog *prog, ssize_t offset);
/* Simple buffer for streaming media. */
struct cbfs_simple_buffer {