mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
examples/VFS: make function prototypes available via static_decl_vfs;
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
4451d0a5cd
commit
fd6eb8bd44
@ -83,6 +83,7 @@ static struct vfs_fn_pointers vfs_test_shadow_copy_fns = {
|
||||
.get_shadow_copy_data_fn = test_get_shadow_copy_data
|
||||
};
|
||||
|
||||
static_decl_vfs;
|
||||
NTSTATUS vfs_shadow_copy_test_init(void)
|
||||
{
|
||||
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION,
|
||||
|
@ -961,6 +961,7 @@ struct vfs_fn_pointers skel_opaque_fns = {
|
||||
.set_offline_fn = skel_set_offline
|
||||
};
|
||||
|
||||
static_decl_vfs;
|
||||
NTSTATUS vfs_skel_opaque_init(void)
|
||||
{
|
||||
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "skel_opaque",
|
||||
|
@ -1070,6 +1070,7 @@ struct vfs_fn_pointers skel_transparent_fns = {
|
||||
.set_offline_fn = skel_set_offline
|
||||
};
|
||||
|
||||
static_decl_vfs;
|
||||
NTSTATUS vfs_skel_transparent_init(void)
|
||||
{
|
||||
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "skel_transparent",
|
||||
|
Loading…
x
Reference in New Issue
Block a user