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