Mercurial > geeqie
comparison src/metadata.h @ 1178:f6449c17306b
Move comments/keywords read and write stuff to new metadata.{c,h}.
author | zas_ |
---|---|
date | Tue, 25 Nov 2008 17:32:51 +0000 |
parents | |
children | bb02d0e2a573 |
comparison
equal
deleted
inserted
replaced
1177:5a20c47e7a14 | 1178:f6449c17306b |
---|---|
1 /* | |
2 * Geeqie | |
3 * (C) 2004 John Ellis | |
4 * Copyright (C) 2008 The Geeqie Team | |
5 * | |
6 * Author: John Ellis, Laurent Monin | |
7 * | |
8 * This software is released under the GNU General Public License (GNU GPL). | |
9 * Please read the included file COPYING for more information. | |
10 * This software comes with no warranty of any kind, use at your own risk! | |
11 */ | |
12 | |
13 | |
14 #ifndef METADATA_H | |
15 #define METADATA_H | |
16 | |
17 gint comment_write(FileData *fd, GList *keywords, const gchar *comment); | |
18 | |
19 gint comment_read(FileData *fd, GList **keywords, gchar **comment); | |
20 | |
21 void metadata_set_keywords(FileData *fd, GList *keywords_to_use, gchar *comment_to_use, gint add); | |
22 gint keyword_list_find(GList *list, const gchar *keyword); | |
23 GList *string_to_keywords_list(const gchar *text); | |
24 | |
25 #endif | |
26 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |