diff options
author | Jeremy Allison <jra@samba.org> | 2000-11-06 21:33:49 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-11-06 21:33:49 +0000 |
commit | b29ff816734c0424f69124feb316da13f2e094f7 (patch) | |
tree | 16992e15e5f16712d9cca93c999d49159243e44e /examples/VFS/skel.c | |
parent | 5d6dec3a94f496651a5f0643ab228c975911e6cd (diff) | |
download | samba-b29ff816734c0424f69124feb316da13f2e094f7.tar.gz samba-b29ff816734c0424f69124feb316da13f2e094f7.tar.xz samba-b29ff816734c0424f69124feb316da13f2e094f7.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/VFS/skel.c')
-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); } |