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