summaryrefslogtreecommitdiff
path: root/source4/ntvfs/ntvfs.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-13 17:03:49 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-13 17:03:49 +0100
commit05d58f49df30791e205799366666804d4a9bf47d (patch)
tree97503bbd04ae20a7aeab14759c96c0eedee13010 /source4/ntvfs/ntvfs.h
parent11bc6056ea2eec9eb9a206fa5ae2a2b6b3efe21a (diff)
parent60e205c34c4a28060f47ba1aa7c7592d33d302bc (diff)
downloadsamba-05d58f49df30791e205799366666804d4a9bf47d.tar.gz
samba-05d58f49df30791e205799366666804d4a9bf47d.tar.bz2
samba-05d58f49df30791e205799366666804d4a9bf47d.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit b14d61a3b8055b7a8172e18e5bd69e7cab6eacdb)
Diffstat (limited to 'source4/ntvfs/ntvfs.h')
-rw-r--r--source4/ntvfs/ntvfs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/ntvfs/ntvfs.h b/source4/ntvfs/ntvfs.h
index fe5f956426..a708dbff51 100644
--- a/source4/ntvfs/ntvfs.h
+++ b/source4/ntvfs/ntvfs.h
@@ -32,9 +32,11 @@ struct ntvfs_module_context;
struct ntvfs_request;
/* each backend has to be one one of the following 3 basic types. In
- * earlier versions of Samba backends needed to handle all types, now
- * we implement them separately. */
-enum ntvfs_type {NTVFS_DISK, NTVFS_PRINT, NTVFS_IPC};
+ earlier versions of Samba backends needed to handle all types, now
+ we implement them separately.
+ The values 1..3 match the SMB2 SMB2_SHARE_TYPE_* values
+ */
+enum ntvfs_type {NTVFS_DISK=1, NTVFS_IPC=2, NTVFS_PRINT=3};
/* the ntvfs operations structure - contains function pointers to
the backend implementations of each operation */