diff options
Diffstat (limited to 'nuttx/fs/nfs/nfs.h')
-rw-r--r-- | nuttx/fs/nfs/nfs.h | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/nuttx/fs/nfs/nfs.h b/nuttx/fs/nfs/nfs.h index d9e61e57c..497cfd666 100644 --- a/nuttx/fs/nfs/nfs.h +++ b/nuttx/fs/nfs/nfs.h @@ -270,11 +270,6 @@ struct nfsstats * by them and break. */ -struct uio; -struct buf; -struct vattr; -struct nameidata; /* XXX */ - /* Nfs outstanding request list element */ struct nfsreq @@ -338,114 +333,6 @@ struct nfsrv_descript uint32_t nd_retxid; /* Reply xid */ }; -/* NFS procedures args */ - -struct wcc_attr -{ - nfsuint64 size; - nfstime3 mtime; - nfstime3 ctime; -} - -struct wcc_data -{ - wcc_attr before; - nfs_fattr after; -}; - -struct diropargs3 -{ - nfsfh_t dir; - const char name; -}; - -struct CREATE3args -{ - diropargs3 where; - nfsv3_sattr how; -}; - -struct CREATE3resok -{ - const char handle; - nfs_fattr attributes; - wcc_data dir_wcc; -}; - -struct READ3args -{ - nfstype file; - uint64_t offset; - uint32_t count; -}; - -struct READ3resok -{ - nfs_fattr file_attributes; - uint32_t count; - bool eof; - const char data; -}; - -enum stable_how -{ - UNSTABLE = 0, - DATA_SYNC = 1, - FILE_SYNC = 2 -}; - -struct WRITE3args -{ - nfstype file; - uint64_t offset; - uint32_t count; - stable_how stable; - const char data; -}; - -struct WRITE3resok -{ - wcc_data file_wcc; - count3 count; - stable_how committed; - unsigned char verf; -}; - -struct REMOVE3args -{ - diropargs3 object; -}; - -struct REMOVE3resok -{ - wcc_data dir_wcc; -}; - -struct RENAME3args -{ - diropargs3 from; - diropargs3 to; -}; - -struct RENAME3resok -{ - wcc_data fromdir_wcc; - wcc_data todir_wcc; -}; - -struct MKDIR3args -{ - diropargs3 where; - nfsv3_sattr attributes; -}; - -struct MKDIR3resok -{ - const char handle; - nfs_fattr obj_attributes; - wcc_data dir_wcc; -}; - /**************************************************************************** * Public Data ****************************************************************************/ |