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>

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 {
   unsigned int   subtag
   ExifShort   value
   char *   name
   MnoteCanonTag   tag
   const char *   name
   const char *   title
   const char *   description
   ExifDataOption   option
   const char *   name
   const char *   description
   ExifTag   tag
   const char *   strings [10]
   ExifFormat   format
   const char *   name
   unsigned char   size
   ExifIfd   ifd
   const char *   name
   ExifLogCode   code
   const char *   title
   const char *   message
   const char *   name
   const char *   title
   const char *   description
   ExifSupportLevel   esl [EXIF_IFD_COUNT][4]
   ExifFormat   fmt
   struct {
      int   index
      const char *   string
      const char *   string
   }   elem [10]
   MnoteOlympusTag   tag
   const char *   name
   const char *   title
   const char *   description
   struct {
      int   index
      const char *   string
      const char *   string
   }   elem [7]
   MnotePentaxTag   tag
   const char *   name
   const char *   title
   const char *   description
items []


Define Documentation

#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.


Function Documentation

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_SHORT, exif_get_short(), _MnotePentaxEntry::format, index, items, 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_QUALITY, MNOTE_PENTAX_TAG_SATURATION, MNOTE_PENTAX_TAG_SHARPNESS, MNOTE_PENTAX_TAG_WHITE_BALANCE, _MnotePentaxEntry::order, _MnotePentaxEntry::tag, and tag.

Referenced by exif_mnote_data_pentax_get_value().


Variable Documentation

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.

ExifTag tag
 

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


Generated on Wed Jan 9 14:58:18 2008 for EXIF library (libexif) Internals by  doxygen 1.4.6