diff options
author | Jeremy Allison <jra@samba.org> | 2000-11-06 21:33:51 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-11-06 21:33:51 +0000 |
commit | b161b6fae9a3e2b09eaa8afcf5850d4dd3bfd909 (patch) | |
tree | 90ee2d14faf173aa403deeba62c473129102308a /examples | |
parent | 418d07ab29545951317e3b065efe001789417d01 (diff) | |
download | samba-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.c | 3 |
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); } |