summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-11-06 21:33:51 +0000
committerJeremy Allison <jra@samba.org>2000-11-06 21:33:51 +0000
commitb161b6fae9a3e2b09eaa8afcf5850d4dd3bfd909 (patch)
tree90ee2d14faf173aa403deeba62c473129102308a /examples
parent418d07ab29545951317e3b065efe001789417d01 (diff)
downloadsamba-b161b6fae9a3e2b09eaa8afcf5850d4dd3bfd909.tar.gz
samba-b161b6fae9a3e2b09eaa8afcf5850d4dd3bfd909.tar.xz
samba-b161b6fae9a3e2b09eaa8afcf5850d4dd3bfd909.zip
Added a VFS version return to init call. Allows smbd to fail an init if
versions don't match. Jeremy.
Diffstat (limited to 'examples')
-rw-r--r--examples/VFS/skel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/VFS/skel.c b/examples/VFS/skel.c
index d1ec5b9180f..9bb84fe2b1c 100644
--- a/examples/VFS/skel.c
+++ b/examples/VFS/skel.c
@@ -132,8 +132,9 @@ struct vfs_ops skel_ops = {
/* VFS initialisation - return vfs_ops function pointer structure */
-struct vfs_ops *vfs_init(void)
+struct vfs_ops *vfs_init(int *vfs_version)
{
+ *vfs_version = SMB_VFS_INTERFACE_VERSION;
return(&skel_ops);
}