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 fat_append_clusters(), fat_delete_file(), fat_find_offset_for_dir_entry(), fat_free_clusters(), fat_get_next_cluster(), fat_read_file(), fat_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 fat_get_fs_free(), fat_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 fat_append_clusters(), fat_delete_file(), fat_free_clusters(), fat_open(), fat_terminate_clusters(), fat_write_dir_entry(), fat_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 fat_clear_cluster(), fat_open(), and partition_open().

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

Definition at line 193 of file partition.h.

Referenced by fat_read_header(), and partition_open().

The length in blocks 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 Tue Jul 20 09:31:01 2010 for WaspmoteAPI by  doxygen 1.5.6