EXIF library (libexif) API 0.6.22
exifnote.h
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/exiflog.h>
31
33typedef struct _ExifMnoteData ExifMnoteData;
34
35EXIF_API(void) exif_mnote_data_ref (ExifMnoteData *);
36EXIF_API(void) exif_mnote_data_unref (ExifMnoteData *);
37
44EXIF_API(void) exif_mnote_data_load (ExifMnoteData *d, const unsigned char *buf, uint32_t buf_size);
45
55EXIF_API(void) exif_mnote_data_save (ExifMnoteData *d, unsigned char **buf, uint32_t *buf_size);
56
62EXIF_API(uint32_t) exif_mnote_data_count (ExifMnoteData *d);
63
71EXIF_API(uint32_t) exif_mnote_data_get_id (ExifMnoteData *d, uint32_t n);
72
81EXIF_API(const char *) exif_mnote_data_get_name (ExifMnoteData *d, uint32_t n);
82
90EXIF_API(const char *) exif_mnote_data_get_title (ExifMnoteData *d, uint32_t n);
91
98EXIF_API(const char *) exif_mnote_data_get_description (ExifMnoteData *d, uint32_t n);
99
112EXIF_API(char *) exif_mnote_data_get_value (ExifMnoteData *d, uint32_t n, char *val, uint32_t maxlen);
113
114EXIF_API(void) exif_mnote_data_log (ExifMnoteData *, ExifLog *);
115
116#ifdef __cplusplus
117}
118#endif /* __cplusplus */
119
120#endif /* __EXIF_MNOTE_DATA_H__ */
Definition: exif-mnote-data-priv.h:61