1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

examples/VFS: add skel_get_dfs_referrals()

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Oct  8 11:29:18 CEST 2011 on sn-devel-104
This commit is contained in:
Stefan Metzmacher 2011-10-08 09:18:02 +02:00
parent 9ca88eb10b
commit ce5b4b3fd9
2 changed files with 14 additions and 0 deletions

View File

@ -83,6 +83,12 @@ static uint32_t skel_fs_capabilities(struct vfs_handle_struct *handle, enum time
return 0;
}
static NTSTATUS skel_get_dfs_referrals(struct vfs_handle_struct *handle,
struct dfs_GetDFSReferral *r)
{
return NT_STATUS_NOT_IMPLEMENTED;
}
static SMB_STRUCT_DIR *skel_opendir(vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attr)
{
return NULL;
@ -786,6 +792,7 @@ struct vfs_fn_pointers skel_opaque_fns = {
.get_shadow_copy_data = skel_get_shadow_copy_data,
.statvfs = skel_statvfs,
.fs_capabilities = skel_fs_capabilities,
.get_dfs_referrals = skel_get_dfs_referrals,
/* Directory operations */

View File

@ -80,6 +80,12 @@ static uint32_t skel_fs_capabilities(struct vfs_handle_struct *handle, enum time
return SMB_VFS_NEXT_FS_CAPABILITIES(handle, p_ts_res);
}
static NTSTATUS skel_get_dfs_referrals(struct vfs_handle_struct *handle,
struct dfs_GetDFSReferral *r)
{
return SMB_VFS_NEXT_GET_DFS_REFERRALS(handle, r);
}
static SMB_STRUCT_DIR *skel_opendir(vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attr)
{
return SMB_VFS_NEXT_OPENDIR(handle, fname, mask, attr);
@ -730,6 +736,7 @@ struct vfs_fn_pointers skel_transparent_fns = {
.get_shadow_copy_data = skel_get_shadow_copy_data,
.statvfs = skel_statvfs,
.fs_capabilities = skel_fs_capabilities,
.get_dfs_referrals = skel_get_dfs_referrals,
/* Directory operations */