EXIF library (libexif) Internals  0.6.24
mnote-pentax-entry.c File Reference
#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.

Macros

#define CF(format, target, v, maxlen)
 
#define CC(number, target, v, maxlen)
 
#define CC2(number, t1, t2, v, maxlen)
 

Functions

char * mnote_pentax_entry_get_value (MnotePentaxEntry *entry, char *val, unsigned int maxlen)
 

Variables

struct {
   MnotePentaxTag   tag
 
   struct {
      int   index
 
      const char *   string
 
   }   elem [33]
 
items []
 
struct {
   MnotePentaxTag   tag
 
   struct {
      int   index1
 
      int   index2
 
      const char *   string
 
   }   elem [39]
 
items2 []
 

Macro Definition Documentation

◆ CC

#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; \
} \
}
#define _(String)
Definition: i18n.h:48

Definition at line 47 of file mnote-pentax-entry.c.

◆ CC2

#define CC2 (   number,
  t1,
  t2,
  v,
  maxlen 
)
Value:
{ \
if ((number != t1) && (number != t2)) { \
snprintf (v, maxlen, \
_("Invalid number of components (%i, " \
"expected %i or %i)."), (int) number, \
(int) t1, (int) t2); \
break; \
} \
}

Definition at line 57 of file mnote-pentax-entry.c.

◆ CF

#define CF (   format,
  target,
  v,
  maxlen 
)
Value:
{ \
if (format != target) { \
snprintf (v, maxlen, \
_("Invalid format '%s', " \
"expected '%s'."), \
exif_format_get_name (target)); \
break; \
} \
}
const char * exif_format_get_name(ExifFormat format)
Return a textual representation of the given EXIF data type.
Definition: exif-format.c:53
ExifFormat format
Definition: exif-format.c:33

Definition at line 35 of file mnote-pentax-entry.c.

Function Documentation

◆ mnote_pentax_entry_get_value()

char* mnote_pentax_entry_get_value ( MnotePentaxEntry entry,
char *  val,
unsigned int  maxlen 
)

Variable Documentation

◆ 

struct { ... } elem[39]

◆ index

int index

Definition at line 71 of file mnote-pentax-entry.c.

Referenced by mnote_pentax_entry_get_value().

◆ index1

int index1

Definition at line 271 of file mnote-pentax-entry.c.

Referenced by mnote_pentax_entry_get_value().

◆ index2

int index2

Definition at line 271 of file mnote-pentax-entry.c.

Referenced by mnote_pentax_entry_get_value().

◆ 

const { ... } items[]

◆ 

const { ... } items2[]

◆ string

const char* string

Definition at line 72 of file mnote-pentax-entry.c.

◆ tag

Definition at line 69 of file mnote-pentax-entry.c.

Referenced by mnote_pentax_entry_get_value().


libexif Generated by doxygen