EXIF library (libexif) API 0.6.25

exif-gps-ifd.h
Go to the documentation of this file.
1
4/*
5 * Copyright (c) 2020 Heiko Lewin <hlewin@gmx.de>
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_GPS_IFD_H
26#define LIBEXIF_EXIF_GPS_IFD_H
27
28#include <stdint.h>
29#include <libexif/exif-format.h>
30#include <libexif/exif-tag.h>
31
32#ifdef __cplusplus
33extern "C" {
34#endif /* __cplusplus */
35
36 typedef struct ExifGPSIfdTagInfo {
37
38 /* The ExifTag this entry describes */
39 uint16_t tag;
40
41 /* The format of the tag (following the spec) */
42 ExifFormat format;
43
44 /* The expected number of components. Note for some ASCII values without a default this is indicated as 0 */
45 uint16_t components;
46
47 /* The size (in bytes) of the raw default value (or 0) */
48 uint16_t default_size;
49
50 /* A pointer to the default value. Using char* works here as there are only defaults for BYTE and ASCII values */
51 const char *default_value;
52
53} ExifGPSIfdTagInfo;
54
55
56const ExifGPSIfdTagInfo* exif_get_gps_tag_info(ExifTag tag);
57
58
59#ifdef __cplusplus
60}
61#endif /* __cplusplus */
62
63
64
65#endif /* !defined(LIBEXIF_EXIF_GPS_IFD_H) */
exif-format.h
Handling native EXIF data types.
ExifFormat
ExifFormat
EXIF tag data formats.
Definition exif-format.h:34
exif-tag.h
Handling EXIF tags.
ExifTag
ExifTag
EXIF tags.
Definition exif-tag.h:36
ExifGPSIfdTagInfo
Definition exif-gps-ifd.h:36