diff options
Diffstat (limited to 'src/exif.h')
-rw-r--r-- | src/exif.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -26,8 +26,16 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef EXIF_H #define EXIF_H -#define MAX_EXIF_DATA 1024 +#include <libexif/exif-data.h> +#define EXIF_MAX_DATA 1024 +#define EXIF_STD_BUF_LEN 128 + +extern void exif_trim_spaces(char *str); +extern void exif_get_tag(ExifData *d, ExifIfd ifd, ExifTag tag, char* buffer, unsigned int maxsize); +extern void exif_get_tag_content(ExifData *d, ExifIfd ifd, ExifTag tag, char* buffer, unsigned int maxsize); +extern void exif_get_mnote_tag(ExifData *d, unsigned int tag, char* buffer, unsigned int maxsize); +extern void exif_get_gps_coords(ExifData * ed, char *buffer, unsigned int maxsize); extern ExifData * exif_get_data(char *path); extern void exif_get_info(ExifData * ed, char *buffer, unsigned int maxsize); |