diff options
author | Steve French <sfrench@us.ibm.com> | 2005-08-24 23:06:05 -0700 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-08-24 23:06:05 -0700 |
commit | a9d02ad49013c8fc527f06ca66417103cdbb08b6 (patch) | |
tree | 9ee3f14e81777296e7057adcfe5c986aea696d47 /fs/cifs/cifsproto.h | |
parent | e22cb8bcb8bce94bf5cca90c98933a28816c6a75 (diff) | |
download | lwn-a9d02ad49013c8fc527f06ca66417103cdbb08b6.tar.gz lwn-a9d02ad49013c8fc527f06ca66417103cdbb08b6.zip |
[CIFS] Support for legacy servers part 3 - Add support for Open and most
of Read support.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 28b1ebbd3801..c411f2e001aa 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -218,9 +218,17 @@ extern int CIFSSMBOpen(const int xid, struct cifsTconInfo *tcon, const int access_flags, const int omode, __u16 * netfid, int *pOplock, FILE_ALL_INFO *, const struct nls_table *nls_codepage, int remap); +extern int SMBLegacyOpen(const int xid, struct cifsTconInfo *tcon, + const char *fileName, const int disposition, + const int access_flags, const int omode, + __u16 * netfid, int *pOplock, FILE_ALL_INFO *, + const struct nls_table *nls_codepage, int remap); extern int CIFSSMBClose(const int xid, struct cifsTconInfo *tcon, const int smb_file_id); +extern int SMBLegacyRead(const int xid, struct cifsTconInfo *tcon, + const int netfid, unsigned int count, + const __u64 lseek, unsigned int *nbytes, char **buf); extern int CIFSSMBRead(const int xid, struct cifsTconInfo *tcon, const int netfid, unsigned int count, const __u64 lseek, unsigned int *nbytes, char **buf); |