gw_fs_get_type
Gets the type of the file system.
gint gw_fs_get_type ( const gchar *fs, gchar **fs_type);
This function gets the type of the file system. Under MS Windows with NT kernel device name is .[A-Z]:. Under MS Windows with Win9x,ME kernel the device name is .[A-Z]: or [A-Z]:.
Parameters
fs | device name of the file system |
fs_type | a pointer to the store the fs type (Note that must be free with g_free()) |
Result: Returns 0 when it's done. Returns -1 when an error occured. .
gw_fs_get_volume_name
Gets the volume name of the file system.
gint gw_fs_get_volume_name ( const gchar *fs, gchar **fs_volume_name);
This function gets the volume name of the file system. Under MS Windows with NT kernel device name is .[A-Z]:. Under MS Windows with Win9x,ME kernel the device name is .[A-Z]: or [A-Z]:.
Parameters
fs | device name of the file system |
fs_type | a pointer to the store the fs volume name (Note that must be free with g_free()) |
Result: Returns 0 when it's done. Returns -1 when an error occured. .
gw_fs_get_serial_number
Gets the serial number of the file system.
gint gw_fs_get_serial_number ( const gchar *fs, gchar **fs_volume_name);
This function gets the serial number of the file system. Under MS Windows with NT kernel device name is .[A-Z]:. Under MS Windows with Win9x,ME kernel the device name is .[A-Z]: or [A-Z]:.
Parameters
fs | device name of the file system |
fs_type | a pointer to the store the fs serial number (Note that must be free with g_free) |
Result: Returns 0 when it's done. Returns -1 when an error occured. .
gw_fs_read_data
Reads data in the file system.
gint gw_fs_read_data ( const gchar *fs, gint seek, gint len, gchar *data);
This function reads data in the file system.
Parameters
fs | device name of the file system |
seek | position in file system of data |
len | length of data |
data | data (note that data must point to a buffer of sufficient size, size must bigger than len) |
Result: an error code. Returns 0 when it's done. Returns -1 when an error occured. .
gw_fs_contain_data
Checks if the file system contains the data.
gint gw_fs_contain_data ( const gchar *fs, gint seek, gint len, const gchar *data);
This function checks if the file system contains the data..
Parameters
fs | device name of the file system |
seek | position in file system of data to compare |
len | length of data the compare |
data | data (note that data must point to a buffer of sufficient size, size must bigger than len) |
Result: Returns 0 if the file system contains the data. Returns -1 if doesn't contain the data or when an error occured. .
gw_fs_is_fat12
Checks if the file system is a FAT12 file system.
gboolean gw_fs_is_fat12 ( const gchar *fs);
This function checks if the file system is a FAT12 file system.
Parameters
fs | device name of the file system |
Result: Returns TRUE if it's a FAT 12 file sytem. Returns FALSE if it's not a FAT 12 file system or when an error occured. .
gw_fs_is_fat16
Checks if the file system is a FAT12 file system.
gboolean gw_fs_is_fat16 ( const gchar *fs);
This function checks if the file system is a FAT12 file system.
Parameters
fs | device name of the file system |
Result: Returns TRUE if it's a FAT 12 file sytem. Returns FALSE if it's not a FAT 12 file system or when an error occured. .
gw_fs_is_fat32
Checks if the file system is a FAT12 file system.
gboolean gw_fs_is_fat32 ( const gchar *fs);
This function checks if the file system is a FAT12 file system.
Parameters
fs | device name of the file system |
Result: Returns TRUE if it's a FAT 12 file sytem. Returns FALSE if it's not a FAT 12 file system or when an error occured. .
gw_fs_is_iso9660
Checks if the file system is a ISO 9660 file system.
gboolean gw_fs_is_iso9660 ( const gchar *fs);
This function checks if the file system is a ISO 9660 file system.
Parameters
fs | device name of the file system |
Result: Returns TRUE if it's a ISO 9660 file sytem. Returns FALSE if it's not a ISO 9660 file system or when an error occured. .
gw_fs_fat12_get_volume_name
Gets the volume name of a FAT12 file system.
gchar * gw_fs_fat12_get_volume_name ( const gchar *fs);
This function gets the volume name of a FAT12 file system..
Parameters
fs | device name of the file system |
Result: The volume name. Returns NULL when an error occured. .
gw_fs_fat16_get_volume_name
Gets the volume name of a FAT16 file system.
gchar * gw_fs_fat16_get_volume_name ( const gchar *fs);
This function gets the volume name of a FAT16 file system..
Parameters
fs | device name of the file system |
Result: The volume name. Returns NULL when an error occured. .
gw_fs_fat32_get_volume_name
Gets the volume name of a FAT32 file system.
gchar * gw_fs_fat32_get_volume_name ( const gchar *fs);
This function gets the volume name of a FAT32 file system..
Parameters
fs | device name of the file system |
Result: The volume name. Returns NULL when an error occured. .
gw_fs_iso9660_get_volume_name
Gets the volume name of a ISO9660 file system.
gchar * gw_fs_iso9660_get_volume_name ( const gchar *fs);
This function gets the volume name of a ISO 9660 file system..
Parameters
fs | device name of the file system |
Result: The volume name. Returns NULL when an error occured. .
gw_fs_fat12_get_serial_number
Gets the serial number of a FAT12 file system.
gchar * gw_fs_fat12_get_serial_number ( const gchar *fs);
This function gets the serial number of a FAT12 file system..
Parameters
fs | device name of the file system |
Result: The serial number. Returns NULL when an error occured. .
gw_fs_fat16_get_serial_number
Gets the serial number of a FAT16 file system.
gchar * gw_fs_fat16_get_serial_number ( const gchar *fs);
This function gets the serial number of a FAT16 file system..
Parameters
fs | device name of the file system |
Result: The serial number. Returns NULL when an error occured. .
gw_fs_fat32_get_serial_number
Gets the serial number of a FAT32 file system.
gchar * gw_fs_fat32_get_serial_number ( const gchar *fs);
This function gets the serial number of a FAT32 file system..
Parameters
fs | device name of the file system |
Result: The serial number. Returns NULL when an error occured. .
gw_fs_iso9660_get_serial_number
Gets the serial number of a ISO9660 file system.
gchar * gw_fs_iso9660_get_serial_number ( const gchar *fs);
This function gets the serial number of a ISO 9660 file system.
Parameters
fs | device name of the file system |
Result: The serial number. Returns NULL when an error occured. .
|