allow writing of empty keywords/comment
[geeqie.git] / src / metadata.h
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 gboolean metadata_write_queue_remove(FileData *fd);
17 gboolean metadata_write_queue_remove_list(GList *list);
18 gboolean metadata_write_perform(FileData *fd);
19 gboolean metadata_write_queue_confirm(void);
20
21
22
23 gint metadata_write(FileData *fd, GList **keywords, gchar **comment);
24
25 gint metadata_read(FileData *fd, GList **keywords, gchar **comment);
26
27 void metadata_set(FileData *fd, GList *new_keywords, gchar *new_comment, gboolean append);
28 gboolean find_string_in_list(GList *list, const gchar *keyword);
29 GList *string_to_keywords_list(const gchar *text);
30
31 #endif
32 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */