2c1609c6ec87b0282b069b6eafd8818b4f928ef7
[geeqie.git] / src / format_raw.h
1 /*
2  *  GQView
3  *  (C) 2005 John Ellis
4  *
5  *  Authors:
6  *    Original version 2005 Lars Ellenberg, base on dcraw by David coffin.
7  *
8  * This software is released under the GNU General Public License (GNU GPL).
9  * Please read the included file COPYING for more information.
10  * This software comes with no warranty of any kind, use at your own risk!
11  */
12
13 #ifndef __FORMAT_RAW_H
14 #define __FORMAT_RAW_H
15
16
17 typedef gint (* FormatRawParseFunc)(const void *data, const guint len,
18                                     guint *image_offset, guint *exif_offset);
19
20
21 gint format_raw_img_exif_offsets(const void *data, const guint len,
22                                  guint *image_offset, guint *exif_offset);
23 gint format_raw_img_exif_offsets_fd(int fd, const void *header_data, const guint header_len,
24                                     guint *image_offset, guint *exif_offset);
25
26
27 #endif
28