1 /* exif-ifd.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.1 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 * SPDX-License-Identifier: LGPL-2.1-or-later 21 */ 22 23 #ifndef LIBEXIF_EXIF_IFD_H 24 #define LIBEXIF_EXIF_IFD_H 25 26 #ifdef __cplusplus 27 extern "C" { 28 #endif /* __cplusplus */ 29 30 /*! Possible EXIF Image File Directories */ 31 typedef enum { 32 EXIF_IFD_0 = 0, /*!< */ 33 EXIF_IFD_1, /*!< */ 34 EXIF_IFD_EXIF, /*!< */ 35 EXIF_IFD_GPS, /*!< */ 36 EXIF_IFD_INTEROPERABILITY, /*!< */ 37 EXIF_IFD_COUNT /*!< Not a real value, just (max_value + 1). */ 38 } ExifIfd; 39 40 /*! Return a textual name of the given IFD. The name is a short, unique, 41 * non-localized text string containing only US-ASCII alphanumeric 42 * characters. 43 * 44 * \param[in] ifd IFD 45 * \return textual name of the IFD, or NULL if unknown 46 */ 47 const char *exif_ifd_get_name (ExifIfd ifd); 48 49 #ifdef __cplusplus 50 } 51 #endif /* __cplusplus */ 52 53 #endif /* !defined(LIBEXIF_EXIF_IFD_H) */ 54