EXIF library (libexif) API 0.6.24

exif-byte-order.h
Go to the documentation of this file.
1
4/*
5 * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301 USA.
21 */
22
23#ifndef LIBEXIF_EXIF_BYTE_ORDER_H
24#define LIBEXIF_EXIF_BYTE_ORDER_H
25
26#ifdef __cplusplus
27 extern "C" {
28#endif /* __cplusplus */
29
31 typedef enum {
33 EXIF_BYTE_ORDER_MOTOROLA,
35 EXIF_BYTE_ORDER_INTEL
36} ExifByteOrder;
37
42 const char *exif_byte_order_get_name (ExifByteOrder order);
43
44#ifdef __cplusplus
45}
46#endif /* __cplusplus */
47
48#endif /* !defined(LIBEXIF_EXIF_BYTE_ORDER_H) */
exif_byte_order_get_name
const char * exif_byte_order_get_name(ExifByteOrder order)
Return a short, localized, textual name for the given byte order.
Definition: exif-byte-order.c:29
ExifByteOrder
ExifByteOrder
Which byte order to use.
Definition: exif-byte-order.h:31
EXIF_BYTE_ORDER_INTEL
@ EXIF_BYTE_ORDER_INTEL
Little-endian byte order.
Definition: exif-byte-order.h:35
EXIF_BYTE_ORDER_MOTOROLA
@ EXIF_BYTE_ORDER_MOTOROLA
Big-endian byte order.
Definition: exif-byte-order.h:33