EXIF library (libexif) API 0.6.20
exif-mnote-data.h
Go to the documentation of this file.
1
4/*
5 * Copyright (c) 2003 Lutz Mueller <lutz@users.sourceforge.net>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301 USA.
21 */
22
23#ifndef __EXIF_MNOTE_DATA_H__
24#define __EXIF_MNOTE_DATA_H__
25
26#ifdef __cplusplus
27extern "C" {
28#endif /* __cplusplus */
29
30#include <libexif/exif-log.h>
31
34
35void exif_mnote_data_ref (ExifMnoteData *);
36void exif_mnote_data_unref (ExifMnoteData *);
37
44void exif_mnote_data_load (ExifMnoteData *d, const unsigned char *buf,
45 unsigned int buf_siz);
46
56void exif_mnote_data_save (ExifMnoteData *d, unsigned char **buf,
57 unsigned int *buf_siz);
58
64unsigned int exif_mnote_data_count (ExifMnoteData *d);
65
73unsigned int exif_mnote_data_get_id (ExifMnoteData *d, unsigned int n);
74
83const char *exif_mnote_data_get_name (ExifMnoteData *d, unsigned int n);
84
92const char *exif_mnote_data_get_title (ExifMnoteData *d, unsigned int n);
93
100const char *exif_mnote_data_get_description (ExifMnoteData *d, unsigned int n);
101
114char *exif_mnote_data_get_value (ExifMnoteData *d, unsigned int n, char *val, unsigned int maxlen);
115
116void exif_mnote_data_log (ExifMnoteData *, ExifLog *);
117
118#ifdef __cplusplus
119}
120#endif /* __cplusplus */
121
122#endif /* __EXIF_MNOTE_DATA_H__ */
Log message infrastructure.
struct _ExifLog ExifLog
State maintained by the logging interface.
Definition exif-log.h:34
struct _ExifMnoteData ExifMnoteData
Data found in the MakerNote tag.
Definition exif-mnote-data.h:33
Definition exif-mnote-data-priv.h:61