libdragon
Data Fields
open_file Struct Reference

Open file handle structure. More...

#include <dfsinternal.h>

Data Fields

file_entry_t cur_sector
 Cached copy of the current sector.
file_entry_tstart_sector
 Pointer to the first sector.
uint32_t handle
 The unique file handle to refer to this file by.
uint32_t size
 The size in bytes of this file.
uint32_t loc
 The offset of the current location in the file.
uint32_t sector_number
 The sector number of the current sector.
uint8_t padding [236]
 Padding.

Detailed Description

Open file handle structure.


Field Documentation

uint8_t open_file::padding[236]

Padding.

If this isn't here, the second file opened will fail due to cur_sector not being on a 8 byte aligned boundary, so I just aligned it to 512 bytes.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines