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)
#define CC2(number, t1, t2, 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 [33]
items []
struct {
   ExifTag   tag
   struct {
      int   index1
      int   index2
      const char *   string
   }   elem [39]
items2 []


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

#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 308 of file mnote-pentax-entry.c.

Referenced by exif_mnote_data_pentax_get_value().


Variable Documentation

struct { ... } elem[39]

int index

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

int index1

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

Referenced by mnote_pentax_entry_get_value().

int index2

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

Referenced by mnote_pentax_entry_get_value().

struct { ... } items[] [static]

struct { ... } items2[] [static]

Referenced by mnote_pentax_entry_get_value().

const char* string

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

const char* string

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

ExifTag tag

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

ExifTag tag

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


SourceForge.net Logo Generated by doxygen