00001 /* exif-mnote-data-canon.h 00002 * 00003 * Copyright (c) 2002, 2003 Lutz Mueller <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., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301 USA. 00019 */ 00020 00021 #ifndef __EXIF_MNOTE_DATA_CANON_H__ 00022 #define __EXIF_MNOTE_DATA_CANON_H__ 00023 00024 #include <libexif/exif-byte-order.h> 00025 #include <libexif/exif-mnote-data.h> 00026 #include <libexif/exif-mnote-data-priv.h> 00027 #include <libexif/exif-mem.h> 00028 #include <libexif/exif-data.h> 00029 00030 typedef struct _ExifMnoteDataCanon ExifMnoteDataCanon; 00031 00032 #include <libexif/canon/mnote-canon-entry.h> 00033 00034 struct _ExifMnoteDataCanon { 00035 ExifMnoteData parent; 00036 00037 MnoteCanonEntry *entries; 00038 unsigned int count; 00039 00040 ExifByteOrder order; 00041 unsigned int offset; 00042 00043 ExifDataOption options; 00044 }; 00045 00054 int exif_mnote_data_canon_identify (const ExifData *ed, const ExifEntry *e); 00055 00056 ExifMnoteData *exif_mnote_data_canon_new (ExifMem *mem, ExifDataOption o); 00057 00058 #endif /* __EXIF_MNOTE_DATA_CANON_H__ */