diff options
Diffstat (limited to 'examples/VFS')
-rw-r--r-- | examples/VFS/skel_opaque.c | 7 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 57909e60b7..4b27802dc9 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -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 */ diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index c9fbc793ec..a75b00e25e 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -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 */ |