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 {
   ExifTag   tag
   struct {
      int   index
      const char *   string
   }   elem [7]
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 
)

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.

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


Generated on 22 Jan 2011 for EXIF library (libexif) Internals by  doxygen 1.6.1