1 /* mnote-olympus-entry.h 2 * 3 * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net> 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library; if not, write to the 17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * Boston, MA 02110-1301 USA. 19 */ 20 21 #ifndef __MNOTE_OLYMPUS_ENTRY_H__ 22 #define __MNOTE_OLYMPUS_ENTRY_H__ 23 24 #include <libexif/exif-format.h> 25 #include <libexif/exif-byte-order.h> 26 #include <libexif/olympus/mnote-olympus-tag.h> 27 28 typedef struct _MnoteOlympusEntry MnoteOlympusEntry; 29 30 struct _MnoteOlympusEntry { 31 MnoteOlympusTag tag; 32 ExifFormat format; 33 unsigned long components; 34 35 unsigned char *data; 36 unsigned int size; 37 38 ExifByteOrder order; 39 }; 40 41 char *mnote_olympus_entry_get_value (MnoteOlympusEntry *entry, char *val, unsigned int maxlen); 42 43 #endif /* __MNOTE_OLYMPUS_ENTRY_H__ */ 44