view src/metadata.h @ 1192:48d62a7e3c33

metadata_set_keywords() -> metadata_set(). Use gboolean type for boolean parameters.
author zas_
date Sun, 30 Nov 2008 21:52:37 +0000
parents bb02d0e2a573
children aed0e28b2744
line wrap: on
line source

/*
 * Geeqie
 * (C) 2004 John Ellis
 * Copyright (C) 2008 The Geeqie Team
 *
 * Author: John Ellis, Laurent Monin
 *
 * This software is released under the GNU General Public License (GNU GPL).
 * Please read the included file COPYING for more information.
 * This software comes with no warranty of any kind, use at your own risk!
 */


#ifndef METADATA_H
#define METADATA_H

gint metadata_write(FileData *fd, GList *keywords, const gchar *comment);

gint metadata_read(FileData *fd, GList **keywords, gchar **comment);

void metadata_set(FileData *fd, GList *keywords_to_use, gchar *comment_to_use, gboolean append);
gint keyword_list_find(GList *list, const gchar *keyword);
GList *string_to_keywords_list(const gchar *text);

#endif
/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */