diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-02 16:14:20 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-02 16:14:20 +0000 |
commit | bbeba1fded523a5e2f7d71f3ad003a8c7c5c9351 (patch) | |
tree | 60a0d60420ac62e366ee61bc30a60c6743378d18 /nuttx/fs/nxffs/nxffs.h | |
parent | 6e723db07e440e19453f35e8e3a3850e3b4d7373 (diff) | |
download | px4-nuttx-bbeba1fded523a5e2f7d71f3ad003a8c7c5c9351.tar.gz px4-nuttx-bbeba1fded523a5e2f7d71f3ad003a8c7c5c9351.tar.bz2 px4-nuttx-bbeba1fded523a5e2f7d71f3ad003a8c7c5c9351.zip |
More NXFFS bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3551 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nxffs/nxffs.h')
-rw-r--r-- | nuttx/fs/nxffs/nxffs.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/nuttx/fs/nxffs/nxffs.h b/nuttx/fs/nxffs/nxffs.h index 912e0db92..48311f3ec 100644 --- a/nuttx/fs/nxffs/nxffs.h +++ b/nuttx/fs/nxffs/nxffs.h @@ -247,7 +247,7 @@ struct nxffs_ofile_s { struct nxffs_ofile_s *flink; /* Supports a singly linked list */ int16_t crefs; /* Reference count */ - mode_t mode; /* Open mode */ + mode_t oflags; /* Open mode */ struct nxffs_entry_s entry; /* Describes the NXFFS inode entry */ }; @@ -552,31 +552,6 @@ extern off_t nxffs_iotell(FAR struct nxffs_volume_s *volume); extern int nxffs_getc(FAR struct nxffs_volume_s *volume); /**************************************************************************** - * Name: nxffs_rddata - * - * Description: - * Read a sequence of data bytes from the FLASH memory. This function - * allows the data in the formatted FLASH blocks to be read as a continuous - * byte stream, skipping over bad blocks and block headers as necessary. - * - * Input Parameters: - * volume - Describes the NXFFS volume. The paramters ioblock and iooffset - * in the volume structure determine the behavior of nxffs_getc(). - * buffer - A pointer to memory to receive the data read from FLASH. - * buflen - The maximum number of bytes to read from FLASH. - * - * Returned Value: - * The number of bytes read is returned on success. Otherwise, a negated - * errno indicating the nature of the failure. - * - * Defined in nxffs_cache.c - * - ****************************************************************************/ - -extern ssize_t nxffs_rddata(FAR struct nxffs_volume_s *volume, - FAR uint8_t *buffer, size_t buflen); - -/**************************************************************************** * Name: nxffs_freeentry * * Description: |