EXIF library (libexif) Internals  0.6.24
mnote-fuji-entry.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <config.h>
#include <libexif/i18n.h>
#include "mnote-fuji-entry.h"
Include dependency graph for mnote-fuji-entry.c:

Go to the source code of this file.

Macros

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

Functions

char * mnote_fuji_entry_get_value (MnoteFujiEntry *entry, char *val, unsigned int maxlen)
 

Variables

struct {
   MnoteFujiTag   tag
 
   struct {
      int   index
 
      const char *   string
 
   }   elem [22]
 
items []
 

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 43 of file mnote-fuji-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 31 of file mnote-fuji-entry.c.

Function Documentation

◆ mnote_fuji_entry_get_value()

char* mnote_fuji_entry_get_value ( MnoteFujiEntry entry,
char *  val,
unsigned int  maxlen 
)

Variable Documentation

◆ 

struct { ... } elem[22]

◆ index

int index

Definition at line 56 of file mnote-fuji-entry.c.

Referenced by mnote_fuji_entry_get_value().

◆ 

const { ... } items[]

◆ string

const char* string

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

Referenced by split_ws_string().

◆ tag

Definition at line 54 of file mnote-fuji-entry.c.

Referenced by mnote_fuji_entry_get_value().


libexif Generated by doxygen