summaryrefslogtreecommitdiffstats
path: root/source/include/vfs.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-29 22:32:24 +0000
committerJeremy Allison <jra@samba.org>2001-06-29 22:32:24 +0000
commitc24e6b41ea60ab4bac2fcd19da947851d6df3c7c (patch)
treef3b2b2e323f02131190892dab2748bc0000c3c6d /source/include/vfs.h
parent001e9b7b540f04c80ba65c879aaa41acddc86f3e (diff)
downloadsamba-c24e6b41ea60ab4bac2fcd19da947851d6df3c7c.tar.gz
samba-c24e6b41ea60ab4bac2fcd19da947851d6df3c7c.tar.xz
samba-c24e6b41ea60ab4bac2fcd19da947851d6df3c7c.zip
Ensured all the system calls in msdfs.c go through the vfs layer.
Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy.
Diffstat (limited to 'source/include/vfs.h')
-rw-r--r--source/include/vfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/include/vfs.h b/source/include/vfs.h
index 51f3df1ec95..93823a5f239 100644
--- a/source/include/vfs.h
+++ b/source/include/vfs.h
@@ -86,6 +86,8 @@ struct vfs_ops {
int (*utime)(struct connection_struct *conn, char *path, struct utimbuf *times);
int (*ftruncate)(struct files_struct *fsp, int fd, SMB_OFF_T offset);
BOOL (*lock)(struct files_struct *fsp, int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type);
+ int (*symlink)(struct connection_struct *conn, const char *oldpath, const char *newpath);
+ int (*readlink)(struct connection_struct *conn, const char *path, char *buf, size_t bufsiz);
/* NT ACL operations. */