diff options
author | Jeremy Allison <jra@samba.org> | 2000-11-06 21:44:33 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-11-06 21:44:33 +0000 |
commit | 6d36edaf437a9d109fe3bfff26c9f6a3b584aaf6 (patch) | |
tree | cecea73e47e68eafd505e13ad31ed4805f0236f4 /source3/include | |
parent | aae30b679981e019aa36d83beff83d30b937a16d (diff) | |
download | samba-6d36edaf437a9d109fe3bfff26c9f6a3b584aaf6.tar.gz samba-6d36edaf437a9d109fe3bfff26c9f6a3b584aaf6.tar.bz2 samba-6d36edaf437a9d109fe3bfff26c9f6a3b584aaf6.zip |
Added a VFS version return to init call. Allows smbd to fail an init if
versions don't match.
Jeremy.
(This used to be commit d0fbb4f5d999abade8930cc6fff231a2af6cccfb)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/vfs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 3624311c30..3696178a75 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -33,6 +33,14 @@ * structs in the vfs - then anyone writing a vfs must include includes.h... */ +/* + * This next constant specifies the version number of the VFS interface + * this smbd will load. Increment this if *ANY* changes are made to the + * vfs_ops below. JRA. + */ + +#define SMB_VFS_INTERFACE_VERSION 1 + /* VFS operations structure */ struct connection_struct; |