#include <config.h>
#include "mnote-pentax-entry.h"
#include <libexif/i18n.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libexif/exif-format.h>
#include <libexif/exif-utils.h>
#include <libexif/exif-entry.h>
Include dependency graph for mnote-pentax-entry.c:
Go to the source code of this file.
Defines | |
#define | CF(format, target, v, maxlen) |
#define | CC(number, target, v, maxlen) |
Functions | |
char * | mnote_pentax_entry_get_value (MnotePentaxEntry *entry, char *val, unsigned int maxlen) |
Variables | |
struct { | |
ExifTag tag | |
struct { | |
int index | |
const char * string | |
} elem [7] | |
} | items [] |
#define CC | ( | number, | |||
target, | |||||
v, | |||||
maxlen | ) |
Value:
{ \ if (number != target) { \ snprintf (v, maxlen, \ _("Invalid number of components (%i, " \ "expected %i)."), (int) number, (int) target); \ break; \ } \ }
Definition at line 47 of file mnote-pentax-entry.c.
#define CF | ( | format, | |||
target, | |||||
v, | |||||
maxlen | ) |
Value:
{ \ if (format != target) { \ snprintf (v, maxlen, \ _("Invalid format '%s', " \ "expected '%s'."), \ exif_format_get_name (format), \ exif_format_get_name (target)); \ break; \ } \ }
Definition at line 35 of file mnote-pentax-entry.c.
char* mnote_pentax_entry_get_value | ( | MnotePentaxEntry * | entry, | |
char * | val, | |||
unsigned int | maxlen | |||
) |
Definition at line 120 of file mnote-pentax-entry.c.
References CC, CF, _MnotePentaxEntry::components, _MnotePentaxEntry::data, elem, EXIF_FORMAT_ASCII, EXIF_FORMAT_LONG, EXIF_FORMAT_SHORT, EXIF_FORMAT_UNDEFINED, exif_get_long(), exif_get_short(), _MnotePentaxEntry::format, index, items, MIN, MNOTE_PENTAX_TAG_COLOR, MNOTE_PENTAX_TAG_CONTRAST, MNOTE_PENTAX_TAG_FLASH, MNOTE_PENTAX_TAG_FOCUS, MNOTE_PENTAX_TAG_ISO_SPEED, MNOTE_PENTAX_TAG_MODE, MNOTE_PENTAX_TAG_PRINTIM, MNOTE_PENTAX_TAG_QUALITY, MNOTE_PENTAX_TAG_SATURATION, MNOTE_PENTAX_TAG_SHARPNESS, MNOTE_PENTAX_TAG_TZ_CITY, MNOTE_PENTAX_TAG_TZ_DST, MNOTE_PENTAX_TAG_WHITE_BALANCE, MNOTE_PENTAX_TAG_ZOOM, _MnotePentaxEntry::order, string, _MnotePentaxEntry::tag, and tag.
Referenced by exif_mnote_data_pentax_get_value().
struct { ... } elem[7] |
int index |
Definition at line 60 of file mnote-pentax-entry.c.
struct { ... } items[] [static] |
const char* string |
Definition at line 61 of file mnote-pentax-entry.c.
Definition at line 58 of file mnote-pentax-entry.c.