• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* mnote-apple-data.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_EXIF_MNOTE_DATA_APPLE_H
22 #define LIBEXIF_EXIF_MNOTE_DATA_APPLE_H
23 
24 #include <libexif/exif-byte-order.h>
25 #include <libexif/exif-data.h>
26 #include <libexif/exif-mem.h>
27 #include <libexif/exif-mnote-data-priv.h>
28 #include <libexif/apple/mnote-apple-entry.h>
29 
30 typedef struct _ExifMnoteDataApple ExifMnoteDataApple;
31 
32 struct _ExifMnoteDataApple {
33     ExifMnoteData parent;
34     ExifByteOrder order;
35     unsigned int offset;
36     MnoteAppleEntry *entries;
37     unsigned int count;
38 };
39 
40 int exif_mnote_data_apple_identify(const ExifData *, const ExifEntry *);
41 
42 ExifMnoteData *exif_mnote_data_apple_new(ExifMem *);
43 
44 #endif /* !defined(LIBEXIF_EXIF_MNOTE_DATA_APPLE_H) */
45