1 /* mnote-apple-entry.h 2 * 3 * Copyright (c) 2018 zhanwang-sky <zhanwang_sky@163.com> 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 LIBEXIF_MNOTE_APPLE_ENTRY_H 22 #define LIBEXIF_MNOTE_APPLE_ENTRY_H 23 24 #include <libexif/exif-byte-order.h> 25 #include <libexif/exif-format.h> 26 #include <libexif/apple/mnote-apple-tag.h> 27 28 typedef struct _MnoteAppleEntry MnoteAppleEntry; 29 30 struct _MnoteAppleEntry { 31 MnoteAppleTag tag; 32 ExifFormat format; 33 unsigned long components; 34 unsigned char *data; 35 unsigned int size; 36 ExifByteOrder order; 37 }; 38 39 char *mnote_apple_entry_get_value(MnoteAppleEntry *, char *, unsigned int); 40 41 #endif /* !defined(LIBEXIF_MNOTE_APPLE_ENTRY_H) */ 42