diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-06-10 18:16:01 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-06-10 18:16:01 +0000 |
commit | 7aecf6e0d49944b5c2a3024cc4b75a82b3ca8078 (patch) | |
tree | 78d0ed9c5aa18d8d9bdd1934003a3945b6da5f08 /nuttx/include | |
parent | 5504af82d3a67230db5dd2283edfa494fb2177b7 (diff) | |
download | px4-firmware-7aecf6e0d49944b5c2a3024cc4b75a82b3ca8078.tar.gz px4-firmware-7aecf6e0d49944b5c2a3024cc4b75a82b3ca8078.tar.bz2 px4-firmware-7aecf6e0d49944b5c2a3024cc4b75a82b3ca8078.zip |
NFS update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4824 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/fs/dirent.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/fs/dirent.h b/nuttx/include/nuttx/fs/dirent.h index f08861817..d5ea5b826 100644 --- a/nuttx/include/nuttx/fs/dirent.h +++ b/nuttx/include/nuttx/fs/dirent.h @@ -52,6 +52,11 @@ * Pre-processor Definitions ****************************************************************************/ +#ifdef CONFIG_NFS +# define DIRENT_NFS_MAXHANDLE 32 /* Maximum length of a file handle */ +# define DIRENT_NFS_VERFLEN 8 /* Length of the copy verifier */ +#endif + /**************************************************************************** * Public Types ****************************************************************************/ @@ -122,8 +127,10 @@ struct fs_nxffsdir_s struct nfsdir_s { - off_t nd_direoffset; /* Directory EOF offset */ - uint32_t cookie[2]; + uint8_t nfs_fhsize; /* Length of the file handle */ + uint8_t nfs_fhandle[DIRENT_NFS_MAXHANDLE]; /* File handle (max size allocated) */ + uint8_t nfs_verifier[DIRENT_NFS_VERFLEN]; /* Cookie verifier */ + uint32_t nfs_cookie[2]; /* Cookie */ }; #endif |