4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Sangchul Lee <sc11.lee@samsung.com>
8 * This library is free software; you can redistribute it and/or modify it under
9 * the terms of the GNU Lesser General Public License as published by the
10 * Free Software Foundation; either version 2.1 of the License, or (at your option)
13 * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16 * License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this library; if not, write to the Free Software Foundation, Inc., 51
20 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 #ifndef __MNOTE_SAMSUNG_ENTRY_H__
25 #define __MNOTE_SAMSUNG_ENTRY_H__
27 #include <libexif/exif-format.h>
28 #include <libexif/exif-byte-order.h>
29 #include <libexif/samsung/mnote-samsung-tag.h>
31 typedef struct _MnoteSamsungEntry MnoteSamsungEntry;
33 struct _MnoteSamsungEntry {
36 unsigned long components;
44 void mnote_samsung_entry_set_value_by_index (MnoteSamsungEntry *entry, int index);
46 void mnote_samsung_entry_set_value_by_string (MnoteSamsungEntry *entry, unsigned char* string, unsigned int len);
48 void mnote_samsung_entry_set_value_by_subtag (MnoteSamsungEntry *entry, MnoteSamsungSubTag stag1, int sindex1, MnoteSamsungSubTag stag2, int sindex2, ExifShort sval);
50 char *mnote_samsung_entry_get_value (const MnoteSamsungEntry *, char *v, unsigned int maxlen);
52 #endif /* __MNOTE_SAMSUNG_ENTRY_H__ */