diff options
Diffstat (limited to 'libflashrom.h')
-rw-r--r-- | libflashrom.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libflashrom.h b/libflashrom.h index d3f3dedc..786147b2 100644 --- a/libflashrom.h +++ b/libflashrom.h @@ -60,7 +60,7 @@ void flashrom_flag_set(struct flashrom_flashctx *, enum flashrom_flag, bool valu bool flashrom_flag_get(const struct flashrom_flashctx *, enum flashrom_flag); int flashrom_image_read(struct flashrom_flashctx *, void *buffer, size_t buffer_len); -int flashrom_image_write(struct flashrom_flashctx *, void *buffer, size_t buffer_len); +int flashrom_image_write(struct flashrom_flashctx *, void *buffer, size_t buffer_len, const void *refbuffer); int flashrom_image_verify(struct flashrom_flashctx *, const void *buffer, size_t buffer_len); struct flashrom_layout; @@ -69,4 +69,4 @@ int flashrom_layout_include_region(struct flashrom_layout *, const char *name); void flashrom_layout_release(struct flashrom_layout *); void flashrom_layout_set(struct flashrom_flashctx *, const struct flashrom_layout *); -#endif /* !__LIBFLASHROM_H__ */ +#endif /* !__LIBFLASHROM_H__ */
\ No newline at end of file |