00001 /* mnote-pentax-entry.h 00002 * 00003 * Copyright (c) 2002 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 __MNOTE_PENTAX_ENTRY_H__ 00022 #define __MNOTE_PENTAX_ENTRY_H__ 00023 00024 #include <libexif/exif-format.h> 00025 #include <libexif/exif-byte-order.h> 00026 #include <libexif/pentax/mnote-pentax-tag.h> 00027 00028 typedef struct _MnotePentaxEntry MnotePentaxEntry; 00029 00030 struct _MnotePentaxEntry { 00031 MnotePentaxTag tag; 00032 ExifFormat format; 00033 unsigned long components; 00034 00035 unsigned char *data; 00036 unsigned int size; 00037 00038 ExifByteOrder order; 00039 }; 00040 00041 char *mnote_pentax_entry_get_value (MnotePentaxEntry *entry, char *val, unsigned int maxlen); 00042 00043 #endif /* __MNOTE_PENTAX_ENTRY_H__ */