exif-loader.h

Go to the documentation of this file.
00001 /* exif-loader.h
00002  *
00003  * Copyright © 2003 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_LOADER_H__
00022 #define __EXIF_LOADER_H__
00023 
00024 #include <libexif/exif-data.h>
00025 #include <libexif/exif-loader.h>
00026 #include <libexif/exif-log.h>
00027 #include <libexif/exif-mem.h>
00028 
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif /* __cplusplus */
00032 
00033 typedef struct _ExifLoader ExifLoader;
00034 
00035 ExifLoader *exif_loader_new     (void);
00036 ExifLoader *exif_loader_new_mem (ExifMem *);
00037 void        exif_loader_ref     (ExifLoader *);
00038 void        exif_loader_unref   (ExifLoader *);
00039 
00040 void        exif_loader_write_file (ExifLoader *, const char *fname);
00041 
00042 /*
00043  * Returns 1 while EXIF data is read (or while there is still 
00044  * hope that there will be EXIF data later on), 0 otherwise.
00045  */
00046 unsigned char exif_loader_write (ExifLoader *, unsigned char *, unsigned int);
00047 
00048 void          exif_loader_reset (ExifLoader *);
00049 ExifData     *exif_loader_get_data (ExifLoader *);
00050 
00051 void exif_loader_log (ExifLoader *, ExifLog *);
00052 
00053 #ifdef __cplusplus
00054 }
00055 #endif /* __cplusplus */
00056 
00057 #endif /* __EXIF_LOADER_H__ */

Generated on Tue Dec 19 14:33:53 2006 for EXIF library (libexif) Internals by  doxygen 1.5.1