/ gwdirinfo.h / Content
/* GWhere
* Copyright (C) 2000 Sébastien LECACHEUR
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef GW_DATA_DIR_INFO_H
#define GW_DATA_DIR_INFO_H
#include
struct dir_info;
struct dir_info * dir_info_new ( void);
gint dir_info_set_sub_folder ( struct dir_info *p, gint nb);
gint dir_info_set_size ( struct dir_info *p, guint64 size);
gint dir_info_add_sub_folder ( struct dir_info *p);
gint dir_info_add_n_sub_folder ( struct dir_info *p, gint n);
gint dir_info_add_size ( struct dir_info *p, guint64 size);
gint dir_info_get_sub_folder ( struct dir_info *p);
guint64 dir_info_get_size ( struct dir_info *p);
gint dir_info_free ( struct dir_info *p);
#endif