summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in3
-rw-r--r--source3/include/smb.h1
-rw-r--r--source3/include/vfs.h6
3 files changed, 8 insertions, 2 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 310ef32b2f..cebd9ee346 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -676,6 +676,9 @@
/* Define if you have the readlink function. */
#undef HAVE_READLINK
+/* Define if you have the realpath function. */
+#undef HAVE_REALPATH
+
/* Define if you have the rename function. */
#undef HAVE_RENAME
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 303b1f5efa..02645f35d3 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -449,6 +449,7 @@ typedef struct connection_struct
struct vfs_ops vfs_ops; /* Filesystem operations */
/* Handle on dlopen() call */
void *dl_handle;
+ void *vfs_private;
char *user; /* name of user who *opened* this connection */
uid_t uid; /* uid of user who *opened* this connection */
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index da601b937b..bbbe2cb8b2 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -1,5 +1,6 @@
/*
- Unix SMB/CIFS implementation.
+ Unix SMB/Netbios implementation.
+ Version 1.9.
VFS structures and parameters
Copyright (C) Tim Potter 1999
@@ -55,7 +56,7 @@ struct vfs_ops {
int (*connect)(struct connection_struct *conn, const char *service, const char *user);
void (*disconnect)(struct connection_struct *conn);
SMB_BIG_UINT (*disk_free)(struct connection_struct *conn, const char *path, BOOL small_query, SMB_BIG_UINT *bsize,
- SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize);
+ SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize);
/* Directory operations */
@@ -91,6 +92,7 @@ struct vfs_ops {
int (*readlink)(struct connection_struct *conn, const char *path, char *buf, size_t bufsiz);
int (*link)(struct connection_struct *conn, const char *oldpath, const char *newpath);
int (*mknod)(struct connection_struct *conn, const char *path, mode_t mode, SMB_DEV_T dev);
+ char *(*realpath)(struct connection_struct *conn, const char *path, char *resolved_path);
/* NT ACL operations. */