exif-mnote-data.c File Reference

#include <config.h>
#include <libexif/exif-mnote-data.h>
#include <libexif/exif-mnote-data-priv.h>
#include <stdlib.h>
#include <string.h>

Include dependency graph for exif-mnote-data.c:

Go to the source code of this file.

Data Structures

struct  _ExifMnoteDataPriv

Functions

void exif_mnote_data_construct (ExifMnoteData *d, ExifMem *mem)
void exif_mnote_data_ref (ExifMnoteData *d)
static void exif_mnote_data_free (ExifMnoteData *d)
void exif_mnote_data_unref (ExifMnoteData *d)
void exif_mnote_data_load (ExifMnoteData *d, const unsigned char *buf, unsigned int buf_size)
void exif_mnote_data_save (ExifMnoteData *d, unsigned char **buf, unsigned int *buf_size)
void exif_mnote_data_set_byte_order (ExifMnoteData *d, ExifByteOrder o)
void exif_mnote_data_set_offset (ExifMnoteData *d, unsigned int o)
unsigned int exif_mnote_data_count (ExifMnoteData *d)
unsigned int exif_mnote_data_get_id (ExifMnoteData *d, unsigned int n)
const char * exif_mnote_data_get_name (ExifMnoteData *d, unsigned int n)
const char * exif_mnote_data_get_title (ExifMnoteData *d, unsigned int n)
const char * exif_mnote_data_get_description (ExifMnoteData *d, unsigned int n)
char * exif_mnote_data_get_value (ExifMnoteData *d, unsigned int n, char *val, unsigned int maxlen)
void exif_mnote_data_log (ExifMnoteData *d, ExifLog *log)


Function Documentation

void exif_mnote_data_construct ExifMnoteData d,
ExifMem mem
 

Definition at line 35 of file exif-mnote-data.c.

References exif_mem_alloc(), exif_mem_ref(), _ExifMnoteData::mem, _ExifMnoteData::priv, and _ExifMnoteDataPriv::ref_count.

Referenced by exif_mnote_data_canon_new(), exif_mnote_data_olympus_new(), and exif_mnote_data_pentax_new().

unsigned int exif_mnote_data_count ExifMnoteData d  ) 
 

Definition at line 110 of file exif-mnote-data.c.

References _ExifMnoteDataMethods::count, and _ExifMnoteData::methods.

static void exif_mnote_data_free ExifMnoteData d  )  [static]
 

Definition at line 55 of file exif-mnote-data.c.

References exif_log_unref(), exif_mem_free(), exif_mem_unref(), _ExifMnoteDataMethods::free, _ExifMnoteData::log, _ExifMnoteData::mem, _ExifMnoteData::methods, and _ExifMnoteData::priv.

Referenced by exif_mnote_data_unref().

const char* exif_mnote_data_get_description ExifMnoteData d,
unsigned int  n
 

Definition at line 138 of file exif-mnote-data.c.

References _ExifMnoteDataMethods::get_description, and _ExifMnoteData::methods.

unsigned int exif_mnote_data_get_id ExifMnoteData d,
unsigned int  n
 

Definition at line 117 of file exif-mnote-data.c.

References _ExifMnoteDataMethods::get_id, and _ExifMnoteData::methods.

const char* exif_mnote_data_get_name ExifMnoteData d,
unsigned int  n
 

Definition at line 124 of file exif-mnote-data.c.

References _ExifMnoteDataMethods::get_name, and _ExifMnoteData::methods.

const char* exif_mnote_data_get_title ExifMnoteData d,
unsigned int  n
 

Definition at line 131 of file exif-mnote-data.c.

References _ExifMnoteDataMethods::get_title, and _ExifMnoteData::methods.

char* exif_mnote_data_get_value ExifMnoteData d,
unsigned int  n,
char *  val,
unsigned int  maxlen
 

Definition at line 145 of file exif-mnote-data.c.

References _ExifMnoteDataMethods::get_value, and _ExifMnoteData::methods.

void exif_mnote_data_load ExifMnoteData d,
const unsigned char *  buf,
unsigned int  buf_size
 

Definition at line 80 of file exif-mnote-data.c.

References _ExifMnoteDataMethods::load, and _ExifMnoteData::methods.

Referenced by exif_data_load_data().

void exif_mnote_data_log ExifMnoteData d,
ExifLog log
 

Definition at line 152 of file exif-mnote-data.c.

References exif_log_ref(), exif_log_unref(), and _ExifMnoteData::log.

Referenced by exif_data_load_data().

void exif_mnote_data_ref ExifMnoteData d  ) 
 

Definition at line 49 of file exif-mnote-data.c.

References _ExifMnoteData::priv, and _ExifMnoteDataPriv::ref_count.

void exif_mnote_data_save ExifMnoteData d,
unsigned char **  buf,
unsigned int *  buf_size
 

Definition at line 88 of file exif-mnote-data.c.

References _ExifMnoteData::methods, and _ExifMnoteDataMethods::save.

Referenced by exif_data_save_data_entry().

void exif_mnote_data_set_byte_order ExifMnoteData d,
ExifByteOrder  o
 

Definition at line 96 of file exif-mnote-data.c.

References _ExifMnoteData::methods, and _ExifMnoteDataMethods::set_byte_order.

Referenced by exif_data_load_data(), and exif_data_set_byte_order().

void exif_mnote_data_set_offset ExifMnoteData d,
unsigned int  o
 

Definition at line 103 of file exif-mnote-data.c.

References _ExifMnoteData::methods, and _ExifMnoteDataMethods::set_offset.

Referenced by exif_data_load_data(), and exif_data_save_data_entry().

void exif_mnote_data_unref ExifMnoteData d  ) 
 

Definition at line 71 of file exif-mnote-data.c.

References exif_mnote_data_free(), _ExifMnoteData::priv, and _ExifMnoteDataPriv::ref_count.


Generated on Mon Jun 19 18:21:52 2006 for EXIF library (libexif) Internals by  doxygen 1.4.6