mnote-canon-entry.h

Go to the documentation of this file.
00001 /* mnote-canon-entry.h
00002  *
00003  * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net>
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful, 
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details. 
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the
00017  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA  02110-1301  USA.
00019  */
00020 
00021 #ifndef __MNOTE_CANON_ENTRY_H__
00022 #define __MNOTE_CANON_ENTRY_H__
00023 
00024 #include <libexif/exif-format.h>
00025 #include <libexif/exif-byte-order.h>
00026 #include <libexif/canon/mnote-canon-tag.h>
00027 
00028 typedef struct _MnoteCanonEntry        MnoteCanonEntry;
00029 
00030 struct _MnoteCanonEntry {
00031         MnoteCanonTag tag;
00032         ExifFormat format;
00033         unsigned long components;
00034 
00035         unsigned char *data;
00036         unsigned int size;
00037 
00038         ExifByteOrder order;
00039 };
00040 
00041 unsigned int mnote_canon_entry_count_values (const MnoteCanonEntry *);
00042 char        *mnote_canon_entry_get_value    (const MnoteCanonEntry *, unsigned int t, char *val, unsigned int maxlen);
00043 
00044 #endif /* __MNOTE_CANON_ENTRY_H__ */

SourceForge.net Logo Generated by doxygen