1/* exif-byte-order.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 __EXIF_BYTE_ORDER_H__ 22#define __EXIF_BYTE_ORDER_H__ 23 24#ifdef __cplusplus 25extern "C" { 26#endif /* __cplusplus */ 27 28/*! Which byte order to use */ 29typedef enum { 30 /*! Big-endian byte order */ 31 EXIF_BYTE_ORDER_MOTOROLA, 32 /*! Little-endian byte order */ 33 EXIF_BYTE_ORDER_INTEL 34} ExifByteOrder; 35 36/*! Return a short, localized, textual name for the given byte order. 37 * \param[in] order byte order 38 * \return localized textual name of the byte order 39 */ 40const char *exif_byte_order_get_name (ExifByteOrder order); 41 42#ifdef __cplusplus 43} 44#endif /* __cplusplus */ 45 46#endif /* __EXIF_BYTE_ORDER_H__ */ 47