Update spec file for license macro
[platform/upstream/libexif.git] / libexif / canon / mnote-canon-entry.h
1 /* mnote-canon-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_CANON_ENTRY_H__
22 #define __MNOTE_CANON_ENTRY_H__
23
24 #include <libexif/exif-format.h>
25 #include <libexif/exif-byte-order.h>
26 #include <libexif/canon/mnote-canon-tag.h>
27
28 typedef struct _MnoteCanonEntry        MnoteCanonEntry;
29
30 struct _MnoteCanonEntry {
31         MnoteCanonTag tag;
32         ExifFormat format;
33         unsigned long components;
34
35         unsigned char *data;
36         unsigned int size;
37
38         ExifByteOrder order;
39 };
40
41 unsigned int mnote_canon_entry_count_values (const MnoteCanonEntry *);
42 char        *mnote_canon_entry_get_value    (const MnoteCanonEntry *, unsigned int t, char *val, unsigned int maxlen);
43
44 #endif /* __MNOTE_CANON_ENTRY_H__ */