diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2018-07-08 13:37:05 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2018-07-08 13:37:05 +0200 |
commit | 1f01a8330b2578e0430ef0d4d54a9713efa34992 (patch) | |
tree | 1dbb9ccdaf1a0e62d10a2c878f60a389f8efba75 /src/image.h | |
parent | 48c6be2d6596f67f335c5a060e84d5db32096c98 (diff) | |
parent | b87411c02fceb03060a56ad2ee0933cd48d8b7d8 (diff) | |
download | 0xFFFF-1f01a8330b2578e0430ef0d4d54a9713efa34992.tar.bz2 |
Merge branch 'master' into maemo
Diffstat (limited to 'src/image.h')
-rw-r--r-- | src/image.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h index 709fef7..42111bf 100644 --- a/src/image.h +++ b/src/image.h @@ -64,6 +64,7 @@ struct image_list { }; struct image * image_alloc_from_file(const char * file, const char * type, const char * device, const char * hwrevs, const char * version, const char * layout); +struct image * image_alloc_from_fd(int fd, const char * orig_filename, const char * type, const char * device, const char * hwrevs, const char * version, const char * layout); struct image * image_alloc_from_shared_fd(int fd, size_t size, size_t offset, uint16_t hash, const char * type, const char * device, const char * hwrevs, const char * version, const char * layout); void image_free(struct image * image); void image_seek(struct image * image, size_t whence); |