/ gwfilesystem.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_TOOLS_FILE_SYSTEM_H
#define GW_TOOLS_FILE_SYSTEM_H
gint gw_fs_get_type ( const gchar *fs, gchar **fs_type);
gint gw_fs_get_volume_name ( const gchar *fs, gchar **fs_volume_name);
gint gw_fs_get_serial_number ( const gchar *fs, gchar **fs_volume_name);
gint gw_fs_read_data ( const gchar *fs, gint seek, gint len, gchar *data);
gint gw_fs_contain_data ( const gchar *fs, gint seek, gint len, const gchar *data);
gboolean gw_fs_is_fat12 ( const gchar *fs);
gboolean gw_fs_is_fat16 ( const gchar *fs);
gboolean gw_fs_is_fat32 ( const gchar *fs);
gboolean gw_fs_is_iso9660 ( const gchar *fs);
gchar * gw_fs_fat12_get_volume_name ( const gchar *fs);
gchar * gw_fs_fat16_get_volume_name ( const gchar *fs);
gchar * gw_fs_fat32_get_volume_name ( const gchar *fs);
gchar * gw_fs_iso9660_get_volume_name ( const gchar *fs);
gchar * gw_fs_fat12_get_serial_number ( const gchar *fs);
gchar * gw_fs_fat16_get_serial_number ( const gchar *fs);
gchar * gw_fs_fat32_get_serial_number ( const gchar *fs);
gchar * gw_fs_iso9660_get_serial_number ( const gchar *fs);
#endif