view src/cache_maint.h @ 639:8b95e1859fee

Rework read_*_option(): - read_u?int_option() now interpret a value of "true" as 1 - read_bool_option() now interpret any value different from 0 as true. - make functions return TRUE on successful read, FALSE else Theses changes will help to maintain compatibility when options are modified.
author zas_
date Mon, 12 May 2008 08:52:17 +0000
parents 48c8e49b571c
children a1e8c78a03ab
line wrap: on
line source

/*
 * Geeqie
 * (C) 2004 John Ellis
 * Copyright (C) 2008 The Geeqie Team
 *
 * Author: John Ellis
 *
 * 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 CACHE_MAINT_H
#define CACHE_MAINT_H


void cache_maintain_home(gint metadata, gint clear, GtkWidget *parent);

gint cache_maintain_home_dir(const gchar *dir, gint recursive, gint clear);
gint cache_maintain_dir(const gchar *dir, gint recursive, gint clear);

void cache_maint_moved(FileData *fd);
void cache_maint_removed(FileData *fd);
void cache_maint_copied(FileData *fd);


void cache_manager_show(void);


#endif