diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-01 14:48:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-01 14:48:27 +0000 |
commit | 6f1d568b0527740e828559bdd6f86d187689496b (patch) | |
tree | a1e993abfef3b0666e237c7eb565208a227c4f62 /nuttx/include | |
parent | e120ff0a0ef5c0f0125fc0e4b21bead8c67f8727 (diff) | |
download | px4-nuttx-6f1d568b0527740e828559bdd6f86d187689496b.tar.gz px4-nuttx-6f1d568b0527740e828559bdd6f86d187689496b.tar.bz2 px4-nuttx-6f1d568b0527740e828559bdd6f86d187689496b.zip |
Extend NXFFS tests; bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3547 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/nxffs.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/nxffs.h b/nuttx/include/nuttx/nxffs.h index e4625a057..bfe7460e8 100644 --- a/nuttx/include/nuttx/nxffs.h +++ b/nuttx/include/nuttx/nxffs.h @@ -96,6 +96,24 @@ extern "C" { EXTERN int nxffs_initialize(FAR struct mtd_dev_s *mtd); +/**************************************************************************** + * Name: nxffs_dump + * + * Description: + * Dump a summary of the contents of an NXFFS file system. CONFIG_DEBUG + * and CONFIG_DEBUG_FS must be enabled for this function to do anything. + * + * Input Parameters: + * mtd - The MTD device that provides the interface to NXFFS-formatted media. + * + * Returned Value: + * Zero is returned on success. Otherwise, a negated errno value is + * returned to indicate the nature of the failure. + * + ****************************************************************************/ + +EXTERN int nxffs_dump(FAR struct mtd_dev_s *mtd); + #undef EXTERN #ifdef __cplusplus } |