1 /* utils.h 2 * 3 * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net> 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library; if not, write to the 17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * Boston, MA 02110-1301 USA. 19 */ 20 21 #ifndef __UTILS_H__ 22 #define __UTILS_H__ 23 24 #include <sys/types.h> 25 #include <libexif/exif-tag.h> 26 #include <libexif/exif-ifd.h> 27 #include <libexif/exif-loader.h> 28 29 enum {EXIF_INVALID_TAG = 0xffff}; 30 31 ExifTag exif_tag_from_string (const char *string); 32 ExifIfd exif_ifd_from_string (const char *string); 33 ExifData *exif_get_data_opts(ExifLoader *loader, ExifLog *log, int options, ExifDataType dt); 34 size_t exif_mbstrlen(const char *mbs, size_t *len); 35 36 #endif /* __UTILS_H__ */ 37