/ gwvirtualfilesystemstats.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_VIRTUAL_FILE_SYSTEM_STATS_H
#define GW_DATA_VIRTUAL_FILE_SYSTEM_STATS_H
#include
struct vfs_stats;
struct vfs_stats * vfs_stats_new ( void);
void vfs_stats_display ( struct vfs_stats *p);
gint vfs_stats_set_name ( struct vfs_stats *p, gchar *name);
gint vfs_stats_set_dir ( struct vfs_stats *p, gchar *dir);
gint vfs_stats_set_label ( struct vfs_stats *p, gchar *label);
gint vfs_stats_set_type ( struct vfs_stats *p, gchar *type);
gint vfs_stats_set_options ( struct vfs_stats *p, gchar **options);
gint vfs_stats_set_ismounted ( struct vfs_stats *p, gboolean mounted);
gint vfs_stats_set_nb_files ( struct vfs_stats *p, gulong nb_files);
gint vfs_stats_set_blocks_size ( struct vfs_stats *p, glong blocks_size);
gint vfs_stats_set_blocks ( struct vfs_stats *p, gulong blocks);
gint vfs_stats_set_blocks_free ( struct vfs_stats *p, gulong blocks_free);
gint vfs_stats_set_serial_number ( struct vfs_stats *p, gchar *serial_number);
gchar * vfs_stats_get_name ( struct vfs_stats *p);
gchar * vfs_stats_get_dir ( struct vfs_stats *p);
gchar * vfs_stats_get_label ( struct vfs_stats *p);
gchar * vfs_stats_get_type ( struct vfs_stats *p);
gchar * vfs_stats_get_serial_number ( struct vfs_stats *p);
gchar ** vfs_stats_get_options ( struct vfs_stats *p);
gboolean vfs_stats_get_ismounted ( struct vfs_stats *p);
gulong vfs_stats_get_nb_files ( struct vfs_stats *p);
glong vfs_stats_get_blocks_size ( struct vfs_stats *p);
gulong vfs_stats_get_blocks ( struct vfs_stats *p);
gulong vfs_stats_get_blocks_free ( struct vfs_stats *p);
guint64 vfs_stats_get_total_capacity ( struct vfs_stats *p);
guint64 vfs_stats_get_total_free_space ( struct vfs_stats *p);
guint64 vfs_stats_get_total_used_space ( struct vfs_stats *p);
gboolean vfs_stats_free ( struct vfs_stats *p);
#endif