partition_struct Struct Reference
[Partition table support]

#include <partition.h>


Data Fields

device_read_t device_read
device_read_interval_t device_read_interval
device_write_t device_write
device_write_interval_t device_write_interval
uint8_t type
uint32_t offset
uint32_t length


Detailed Description

Describes a partition.

Definition at line 153 of file partition.h.


Field Documentation

The function which reads data from the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

Definition at line 161 of file partition.h.

Referenced by fat16_append_clusters(), fat16_delete_file(), fat16_find_offset_for_dir_entry(), fat16_free_clusters(), fat16_get_next_cluster(), fat16_read_file(), fat16_read_header(), and partition_open().

The function which repeatedly reads a constant amount of data from the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

Definition at line 168 of file partition.h.

Referenced by fat16_get_fs_free(), fat16_read_dir(), and partition_open().

The function which writes data to the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

Definition at line 175 of file partition.h.

Referenced by fat16_append_clusters(), fat16_delete_file(), fat16_free_clusters(), fat16_open(), fat16_terminate_clusters(), fat16_write_dir_entry(), fat16_write_file(), and partition_open().

The function which repeatedly writes data to the partition.

Note:
The offset given to this function is relative to the whole disk, not to the start of the partition.

Definition at line 182 of file partition.h.

Referenced by fat16_clear_cluster(), fat16_open(), and partition_open().

The type of the partition.

Compare this value to the PARTITION_TYPE_* constants.

Definition at line 189 of file partition.h.

Referenced by fat16_read_header(), partition_close(), and partition_open().

The offset in bytes on the disk where this partition starts.

Definition at line 193 of file partition.h.

Referenced by fat16_read_header(), and partition_open().

The length in bytes of this partition.

Definition at line 197 of file partition.h.

Referenced by partition_open().


The documentation for this struct was generated from the following file:

Generated on Wed Sep 17 19:31:52 2008 for mptry by  doxygen 1.5.5