EXIF library (libexif) API
0.6.20
|
00001 00004 /* 00005 * Copyright (c) 2003 Lutz Mueller <lutz@users.sourceforge.net> 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2 of the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library; if not, write to the 00019 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00020 * Boston, MA 02110-1301 USA. 00021 */ 00022 00023 #ifndef __EXIF_MNOTE_DATA_H__ 00024 #define __EXIF_MNOTE_DATA_H__ 00025 00026 #ifdef __cplusplus 00027 extern "C" { 00028 #endif /* __cplusplus */ 00029 00030 #include <libexif/exif-log.h> 00031 00033 typedef struct _ExifMnoteData ExifMnoteData; 00034 00035 void exif_mnote_data_ref (ExifMnoteData *); 00036 void exif_mnote_data_unref (ExifMnoteData *); 00037 00044 void exif_mnote_data_load (ExifMnoteData *d, const unsigned char *buf, 00045 unsigned int buf_siz); 00046 00056 void exif_mnote_data_save (ExifMnoteData *d, unsigned char **buf, 00057 unsigned int *buf_siz); 00058 00064 unsigned int exif_mnote_data_count (ExifMnoteData *d); 00065 00073 unsigned int exif_mnote_data_get_id (ExifMnoteData *d, unsigned int n); 00074 00083 const char *exif_mnote_data_get_name (ExifMnoteData *d, unsigned int n); 00084 00092 const char *exif_mnote_data_get_title (ExifMnoteData *d, unsigned int n); 00093 00100 const char *exif_mnote_data_get_description (ExifMnoteData *d, unsigned int n); 00101 00114 char *exif_mnote_data_get_value (ExifMnoteData *d, unsigned int n, char *val, unsigned int maxlen); 00115 00116 void exif_mnote_data_log (ExifMnoteData *, ExifLog *); 00117 00118 #ifdef __cplusplus 00119 } 00120 #endif /* __cplusplus */ 00121 00122 #endif /* __EXIF_MNOTE_DATA_H__ */