  
    
main.htmlMain Page     
files.htmlFiles     
dirs.htmlDirectories   
  
    
files.htmlFile List     
globals.htmlGlobals   
dir_3c4fde49625df9344590fff295c7c38d.htmllibexif exif-content.h
00001 /* exif-content.h 00002  * 00003  * Copyright © 2001 Lutz Müller <lutz@users.sourceforge.net> 00004  * 00005  * This library is free software; you can redistribute it and/or 00006  * modify it under the terms of the GNU Lesser General Public 00007  * License as published by the Free Software Foundation; either 00008  * version 2 of the License, or (at your option) any later version. 00009  * 00010  * This library is distributed in the hope that it will be useful, 00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 00013  * Lesser General Public License for more details. 00014  * 00015  * You should have received a copy of the GNU Lesser General Public 00016  * License along with this library; if not, write to the 00017  * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00018  * Boston, MA 02111-1307, USA. 00019  */ 00020 
00021 #ifndef __EXIF_CONTENT_H__ 00022 #define __EXIF_CONTENT_H__ 00023 00024 #ifdef __cplusplus 00025 extern "C" {
00026 #endif /* __cplusplus */ 00027 
00028 typedef struct _ExifContent        ExifContent;
00029 typedef struct _ExifContentPrivate ExifContentPrivate;
00030 
00031 #include <libexif/exif-tag.h> 00032 #include <libexif/exif-entry.h> 00033 #include < exif-data_8h.htmllibexif/exif-data.h > 00034 #include < exif-log_8h.htmllibexif/exif-log.h > 00035 #include <libexif/exif-mem.h> 00036 
00037 struct _ExifContent
00038 {
00039         ExifEntry **entries;
00040         unsigned int count;
00041 
00042         /* Data containing this content */ 00043         ExifData *parent;
00044 
00045         ExifContentPrivate *priv;
00046 };
00047 
00048 /* Lifecycle */ 00049 ExifContent *exif_content_new     (void);
00050 ExifContent *exif_content_new_mem (ExifMem *);
00051 void         exif_content_ref     (ExifContent *content);
00052 void         exif_content_unref   (ExifContent *content);
00053 void         exif_content_free    (ExifContent *content);
00054 
00055 void         exif_content_add_entry    (ExifContent *, ExifEntry *);
00056 void         exif_content_remove_entry (ExifContent *, ExifEntry *);
00057 ExifEntry   *exif_content_get_entry    (ExifContent *, ExifTag);
00058 void         exif_content_fix          (ExifContent *);
00059 
00060 typedef void (* ExifContentForeachEntryFunc) (ExifEntry *, void *user_data);
00061 void         exif_content_foreach_entry (ExifContent *content,
00062                                          ExifContentForeachEntryFunc func,
00063                                          void *user_data);
00064 
00065 /* For your convenience */ 00066 ExifIfd exif_content_get_ifd (ExifContent *);
00067 #define exif_content_get_value(c,t,v,m)                                 \ 00068         (exif_content_get_entry (c,t) ?                                 \ 00069          exif_entry_get_value (exif_content_get_entry (c,t),v,m) : NULL) 00070 00071 void exif_content_dump  (ExifContent *content, unsigned int indent);
00072 void exif_content_log   (ExifContent *content, ExifLog *log);
00073 
00074 #ifdef __cplusplus 00075 }
00076 #endif /* __cplusplus */ 00077 
00078 #endif /* __EXIF_CONTENT_H__ */ Generated on Sun Apr 23 02:19:20 2006 for EXIF library (libexif) API by 
http://www.doxygen.org/index.htmldoxygen  1.4.6 