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 | aae30b679981e019aa36d83beff83d30b937a16d (patch) | |
tree | 546758bdfa5fc263a5b03958050fc33d2631645e /examples | |
parent | 5ba7235f0f3bd5ec08e3798795af0c56b1f0e5f5 (diff) | |
download | samba-aae30b679981e019aa36d83beff83d30b937a16d.tar.gz samba-aae30b679981e019aa36d83beff83d30b937a16d.tar.bz2 samba-aae30b679981e019aa36d83beff83d30b937a16d.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 b29ff816734c0424f69124feb316da13f2e094f7)
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 d1ec5b9180..9bb84fe2b1 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); } |