EXIF library (libexif) API 0.6.25

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 * SPDX-License-Identifier: LGPL-2.0-or-later
23 */
24
25#ifndef LIBEXIF_EXIF_BYTE_ORDER_H
26#define LIBEXIF_EXIF_BYTE_ORDER_H
27
28#ifdef __cplusplus
29 extern "C" {
30#endif /* __cplusplus */
31
33 typedef enum {
35 EXIF_BYTE_ORDER_MOTOROLA,
37 EXIF_BYTE_ORDER_INTEL
38} ExifByteOrder;
39
44 const char *exif_byte_order_get_name (ExifByteOrder order);
45
46#ifdef __cplusplus
47}
48#endif /* __cplusplus */
49
50#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:31
ExifByteOrder
ExifByteOrder
Which byte order to use.
Definition exif-byte-order.h:33
EXIF_BYTE_ORDER_INTEL
@ EXIF_BYTE_ORDER_INTEL
Little-endian byte order.
Definition exif-byte-order.h:37
EXIF_BYTE_ORDER_MOTOROLA
@ EXIF_BYTE_ORDER_MOTOROLA
Big-endian byte order.
Definition exif-byte-order.h:35