summaryrefslogtreecommitdiff
path: root/include/tinyff
diff options
context:
space:
mode:
Diffstat (limited to 'include/tinyff')
-rw-r--r--include/tinyff/image/bmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tinyff/image/bmp.h b/include/tinyff/image/bmp.h
index 6623b1b..c63f974 100644
--- a/include/tinyff/image/bmp.h
+++ b/include/tinyff/image/bmp.h
@@ -42,6 +42,8 @@ typedef struct {
ff_result last_error;
} ff_bmp_ctx;
+typedef ff_result (*ff_bmp_section_handler_ptr)(uint8_t *buf, size_t len, ff_bmp_ctx* ctx);
+
ff_result ff_bmp_isvalid(ff_stream *stream);
ff_result ff_open_bmp(ff_stream *stream, ff_bmp_ctx **out_ctx);