summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs/smbfs_subr.h
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2002-09-18 09:27:04 +0000
committerbp <bp@FreeBSD.org>2002-09-18 09:27:04 +0000
commit196b315ed80d68650ae09897e65629420c5018a2 (patch)
tree2deb86a7b8564d0b34311eba3e3eee4ab4e29f25 /sys/fs/smbfs/smbfs_subr.h
parent3b0f5df300aab6670942c0704c2106ff3c4224a2 (diff)
downloadFreeBSD-src-196b315ed80d68650ae09897e65629420c5018a2.zip
FreeBSD-src-196b315ed80d68650ae09897e65629420c5018a2.tar.gz
Implement additional SMB calls to allow proper update of file size as some
file servers fail to do it in the right way. New NFLUSHWIRE flag marks pending flush request(s). NB: not all cases covered by this commit. Obtained from: Darwin
Diffstat (limited to 'sys/fs/smbfs/smbfs_subr.h')
-rw-r--r--sys/fs/smbfs/smbfs_subr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/fs/smbfs/smbfs_subr.h b/sys/fs/smbfs/smbfs_subr.h
index 058ffe8..bc1279f 100644
--- a/sys/fs/smbfs/smbfs_subr.h
+++ b/sys/fs/smbfs/smbfs_subr.h
@@ -140,6 +140,8 @@ int smbfs_smb_statfs(struct smb_share *ssp, struct statfs *sbp,
struct smb_cred *scred);
int smbfs_smb_setfsize(struct smbnode *np, int newsize, struct smb_cred *scred);
+int smbfs_smb_query_info(struct smbnode *np, const char *name, int len,
+ struct smbfattr *fap, struct smb_cred *scred);
int smbfs_smb_setpattr(struct smbnode *np, u_int16_t attr,
struct timespec *mtime, struct smb_cred *scred);
int smbfs_smb_setptime2(struct smbnode *np, struct timespec *mtime,
@@ -158,6 +160,7 @@ int smbfs_smb_close(struct smb_share *ssp, u_int16_t fid,
int smbfs_smb_create(struct smbnode *dnp, const char *name, int len,
struct smb_cred *scred);
int smbfs_smb_delete(struct smbnode *np, struct smb_cred *scred);
+int smbfs_smb_flush(struct smbnode *np, struct smb_cred *scred);
int smbfs_smb_rename(struct smbnode *src, struct smbnode *tdnp,
const char *tname, int tnmlen, struct smb_cred *scred);
int smbfs_smb_move(struct smbnode *src, struct smbnode *tdnp,
OpenPOWER on IntegriCloud