From: Stefan Metzmacher Date: Fri, 27 Aug 2021 11:10:41 +0000 (+0200) Subject: vfs_not_implemented: mark all functions with _PUBLIC_ X-Git-Tag: tdb-1.4.6~496 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d295e41af4e9316aee1b4cf1c3087663b7c06a4;p=thirdparty%2Fsamba.git vfs_not_implemented: mark all functions with _PUBLIC_ These functions are used directly by other modules. Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- diff --git a/source3/modules/vfs_not_implemented.c b/source3/modules/vfs_not_implemented.c index cab132d5760..95c1757a7cc 100644 --- a/source3/modules/vfs_not_implemented.c +++ b/source3/modules/vfs_not_implemented.c @@ -24,6 +24,7 @@ #include "lib/util/tevent_unix.h" #include "lib/util/tevent_ntstatus.h" +_PUBLIC_ int vfs_not_implemented_connect( vfs_handle_struct *handle, const char *service, @@ -33,11 +34,13 @@ int vfs_not_implemented_connect( return -1; } +_PUBLIC_ void vfs_not_implemented_disconnect(vfs_handle_struct *handle) { ; } +_PUBLIC_ uint64_t vfs_not_implemented_disk_free(vfs_handle_struct *handle, const struct smb_filename *smb_fname, uint64_t *bsize, @@ -50,6 +53,7 @@ uint64_t vfs_not_implemented_disk_free(vfs_handle_struct *handle, return 0; } +_PUBLIC_ int vfs_not_implemented_get_quota(vfs_handle_struct *handle, const struct smb_filename *smb_fname, enum SMB_QUOTA_TYPE qtype, @@ -60,6 +64,7 @@ int vfs_not_implemented_get_quota(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_set_quota(vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dq) @@ -68,6 +73,7 @@ int vfs_not_implemented_set_quota(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_get_shadow_copy_data(vfs_handle_struct *handle, files_struct *fsp, struct shadow_copy_data *shadow_copy_data, @@ -77,6 +83,7 @@ int vfs_not_implemented_get_shadow_copy_data(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_statvfs(struct vfs_handle_struct *handle, const struct smb_filename *smb_fname, struct vfs_statvfs_struct *statbuf) @@ -85,18 +92,21 @@ int vfs_not_implemented_statvfs(struct vfs_handle_struct *handle, return -1; } +_PUBLIC_ uint32_t vfs_not_implemented_fs_capabilities(struct vfs_handle_struct *handle, enum timestamp_set_resolution *p_ts_res) { return 0; } +_PUBLIC_ NTSTATUS vfs_not_implemented_get_dfs_referrals(struct vfs_handle_struct *handle, struct dfs_GetDFSReferral *r) { return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_create_dfs_pathat(struct vfs_handle_struct *handle, struct files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -106,6 +116,7 @@ NTSTATUS vfs_not_implemented_create_dfs_pathat(struct vfs_handle_struct *handle, return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_read_dfs_pathat(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, struct files_struct *dirfsp, @@ -116,6 +127,7 @@ NTSTATUS vfs_not_implemented_read_dfs_pathat(struct vfs_handle_struct *handle, return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_snap_check_path(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, const char *service_path, @@ -124,6 +136,7 @@ NTSTATUS vfs_not_implemented_snap_check_path(struct vfs_handle_struct *handle, return NT_STATUS_NOT_SUPPORTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_snap_create(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, const char *base_volume, @@ -135,6 +148,7 @@ NTSTATUS vfs_not_implemented_snap_create(struct vfs_handle_struct *handle, return NT_STATUS_NOT_SUPPORTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_snap_delete(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, char *base_path, @@ -143,6 +157,7 @@ NTSTATUS vfs_not_implemented_snap_delete(struct vfs_handle_struct *handle, return NT_STATUS_NOT_SUPPORTED; } +_PUBLIC_ DIR *vfs_not_implemented_fdopendir(vfs_handle_struct *handle, files_struct *fsp, const char *mask, uint32_t attr) { @@ -150,6 +165,7 @@ DIR *vfs_not_implemented_fdopendir(vfs_handle_struct *handle, files_struct *fsp, return NULL; } +_PUBLIC_ struct dirent *vfs_not_implemented_readdir(vfs_handle_struct *handle, struct files_struct *dirfsp, DIR *dirp, @@ -159,22 +175,26 @@ struct dirent *vfs_not_implemented_readdir(vfs_handle_struct *handle, return NULL; } +_PUBLIC_ void vfs_not_implemented_seekdir(vfs_handle_struct *handle, DIR *dirp, long offset) { ; } +_PUBLIC_ long vfs_not_implemented_telldir(vfs_handle_struct *handle, DIR *dirp) { errno = ENOSYS; return (long)-1; } +_PUBLIC_ void vfs_not_implemented_rewind_dir(vfs_handle_struct *handle, DIR *dirp) { ; } +_PUBLIC_ int vfs_not_implemented_mkdirat(vfs_handle_struct *handle, struct files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -184,12 +204,14 @@ int vfs_not_implemented_mkdirat(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_closedir(vfs_handle_struct *handle, DIR *dir) { errno = ENOSYS; return -1; } +_PUBLIC_ int vfs_not_implemented_openat(vfs_handle_struct *handle, const struct files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -201,6 +223,7 @@ int vfs_not_implemented_openat(vfs_handle_struct *handle, return -1; } +_PUBLIC_ NTSTATUS vfs_not_implemented_create_file(struct vfs_handle_struct *handle, struct smb_request *req, struct smb_filename *smb_fname, @@ -222,12 +245,14 @@ NTSTATUS vfs_not_implemented_create_file(struct vfs_handle_struct *handle, return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ int vfs_not_implemented_close_fn(vfs_handle_struct *handle, files_struct *fsp) { errno = ENOSYS; return -1; } +_PUBLIC_ ssize_t vfs_not_implemented_pread(vfs_handle_struct *handle, files_struct *fsp, void *data, size_t n, off_t offset) { @@ -235,6 +260,7 @@ ssize_t vfs_not_implemented_pread(vfs_handle_struct *handle, files_struct *fsp, return -1; } +_PUBLIC_ struct tevent_req *vfs_not_implemented_pread_send(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, struct tevent_context *ev, @@ -244,6 +270,7 @@ struct tevent_req *vfs_not_implemented_pread_send(struct vfs_handle_struct *hand return NULL; } +_PUBLIC_ ssize_t vfs_not_implemented_pread_recv(struct tevent_req *req, struct vfs_aio_state *vfs_aio_state) { @@ -251,6 +278,7 @@ ssize_t vfs_not_implemented_pread_recv(struct tevent_req *req, return -1; } +_PUBLIC_ ssize_t vfs_not_implemented_pwrite(vfs_handle_struct *handle, files_struct *fsp, const void *data, size_t n, off_t offset) { @@ -258,6 +286,7 @@ ssize_t vfs_not_implemented_pwrite(vfs_handle_struct *handle, files_struct *fsp, return -1; } +_PUBLIC_ struct tevent_req *vfs_not_implemented_pwrite_send(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, struct tevent_context *ev, @@ -268,6 +297,7 @@ struct tevent_req *vfs_not_implemented_pwrite_send(struct vfs_handle_struct *han return NULL; } +_PUBLIC_ ssize_t vfs_not_implemented_pwrite_recv(struct tevent_req *req, struct vfs_aio_state *vfs_aio_state) { @@ -275,6 +305,7 @@ ssize_t vfs_not_implemented_pwrite_recv(struct tevent_req *req, return -1; } +_PUBLIC_ off_t vfs_not_implemented_lseek(vfs_handle_struct *handle, files_struct *fsp, off_t offset, int whence) { @@ -282,6 +313,7 @@ off_t vfs_not_implemented_lseek(vfs_handle_struct *handle, files_struct *fsp, return (off_t) - 1; } +_PUBLIC_ ssize_t vfs_not_implemented_sendfile(vfs_handle_struct *handle, int tofd, files_struct *fromfsp, const DATA_BLOB *hdr, off_t offset, size_t n) @@ -290,6 +322,7 @@ ssize_t vfs_not_implemented_sendfile(vfs_handle_struct *handle, int tofd, return -1; } +_PUBLIC_ ssize_t vfs_not_implemented_recvfile(vfs_handle_struct *handle, int fromfd, files_struct *tofsp, off_t offset, size_t n) { @@ -297,6 +330,7 @@ ssize_t vfs_not_implemented_recvfile(vfs_handle_struct *handle, int fromfd, return -1; } +_PUBLIC_ int vfs_not_implemented_renameat(vfs_handle_struct *handle, files_struct *srcfsp, const struct smb_filename *smb_fname_src, @@ -307,6 +341,7 @@ int vfs_not_implemented_renameat(vfs_handle_struct *handle, return -1; } +_PUBLIC_ struct tevent_req *vfs_not_implemented_fsync_send(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, struct tevent_context *ev, @@ -315,6 +350,7 @@ struct tevent_req *vfs_not_implemented_fsync_send(struct vfs_handle_struct *hand return NULL; } +_PUBLIC_ int vfs_not_implemented_fsync_recv(struct tevent_req *req, struct vfs_aio_state *vfs_aio_state) { @@ -322,12 +358,14 @@ int vfs_not_implemented_fsync_recv(struct tevent_req *req, return -1; } +_PUBLIC_ int vfs_not_implemented_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname) { errno = ENOSYS; return -1; } +_PUBLIC_ int vfs_not_implemented_fstat(vfs_handle_struct *handle, files_struct *fsp, SMB_STRUCT_STAT *sbuf) { @@ -335,6 +373,7 @@ int vfs_not_implemented_fstat(vfs_handle_struct *handle, files_struct *fsp, return -1; } +_PUBLIC_ int vfs_not_implemented_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname) { @@ -342,6 +381,7 @@ int vfs_not_implemented_lstat(vfs_handle_struct *handle, return -1; } +_PUBLIC_ uint64_t vfs_not_implemented_get_alloc_size(struct vfs_handle_struct *handle, struct files_struct *fsp, const SMB_STRUCT_STAT *sbuf) @@ -350,6 +390,7 @@ uint64_t vfs_not_implemented_get_alloc_size(struct vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_unlinkat(vfs_handle_struct *handle, struct files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -359,6 +400,7 @@ int vfs_not_implemented_unlinkat(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_fchmod(vfs_handle_struct *handle, files_struct *fsp, mode_t mode) { @@ -366,6 +408,7 @@ int vfs_not_implemented_fchmod(vfs_handle_struct *handle, files_struct *fsp, return -1; } +_PUBLIC_ int vfs_not_implemented_fchown(vfs_handle_struct *handle, files_struct *fsp, uid_t uid, gid_t gid) { @@ -373,6 +416,7 @@ int vfs_not_implemented_fchown(vfs_handle_struct *handle, files_struct *fsp, return -1; } +_PUBLIC_ int vfs_not_implemented_lchown(vfs_handle_struct *handle, const struct smb_filename *smb_fname, uid_t uid, @@ -382,6 +426,7 @@ int vfs_not_implemented_lchown(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_chdir(vfs_handle_struct *handle, const struct smb_filename *smb_fname) { @@ -389,6 +434,7 @@ int vfs_not_implemented_chdir(vfs_handle_struct *handle, return -1; } +_PUBLIC_ struct smb_filename *vfs_not_implemented_getwd(vfs_handle_struct *handle, TALLOC_CTX *ctx) { @@ -396,6 +442,7 @@ struct smb_filename *vfs_not_implemented_getwd(vfs_handle_struct *handle, return NULL; } +_PUBLIC_ int vfs_not_implemented_fntimes(vfs_handle_struct *handle, files_struct *fsp, struct smb_file_time *ft) @@ -404,6 +451,7 @@ int vfs_not_implemented_fntimes(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_ftruncate(vfs_handle_struct *handle, files_struct *fsp, off_t offset) { @@ -411,6 +459,7 @@ int vfs_not_implemented_ftruncate(vfs_handle_struct *handle, files_struct *fsp, return -1; } +_PUBLIC_ int vfs_not_implemented_fallocate(vfs_handle_struct *handle, files_struct *fsp, uint32_t mode, off_t offset, off_t len) { @@ -418,6 +467,7 @@ int vfs_not_implemented_fallocate(vfs_handle_struct *handle, files_struct *fsp, return -1; } +_PUBLIC_ bool vfs_not_implemented_lock(vfs_handle_struct *handle, files_struct *fsp, int op, off_t offset, off_t count, int type) { @@ -425,6 +475,7 @@ bool vfs_not_implemented_lock(vfs_handle_struct *handle, files_struct *fsp, int return false; } +_PUBLIC_ int vfs_not_implemented_filesystem_sharemode(struct vfs_handle_struct *handle, struct files_struct *fsp, uint32_t share_access, @@ -434,6 +485,7 @@ int vfs_not_implemented_filesystem_sharemode(struct vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_fcntl(struct vfs_handle_struct *handle, struct files_struct *fsp, int cmd, va_list cmd_arg) @@ -442,6 +494,7 @@ int vfs_not_implemented_fcntl(struct vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_linux_setlease(struct vfs_handle_struct *handle, struct files_struct *fsp, int leasetype) { @@ -449,6 +502,7 @@ int vfs_not_implemented_linux_setlease(struct vfs_handle_struct *handle, return -1; } +_PUBLIC_ bool vfs_not_implemented_getlock(vfs_handle_struct *handle, files_struct *fsp, off_t *poffset, off_t *pcount, int *ptype, pid_t *ppid) @@ -457,6 +511,7 @@ bool vfs_not_implemented_getlock(vfs_handle_struct *handle, files_struct *fsp, return false; } +_PUBLIC_ int vfs_not_implemented_symlinkat(vfs_handle_struct *handle, const struct smb_filename *link_contents, struct files_struct *dirfsp, @@ -466,6 +521,7 @@ int vfs_not_implemented_symlinkat(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_vfs_readlinkat(vfs_handle_struct *handle, const struct files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -476,6 +532,7 @@ int vfs_not_implemented_vfs_readlinkat(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_linkat(vfs_handle_struct *handle, files_struct *srcfsp, const struct smb_filename *old_smb_fname, @@ -487,6 +544,7 @@ int vfs_not_implemented_linkat(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_mknodat(vfs_handle_struct *handle, files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -497,6 +555,7 @@ int vfs_not_implemented_mknodat(vfs_handle_struct *handle, return -1; } +_PUBLIC_ struct smb_filename *vfs_not_implemented_realpath(vfs_handle_struct *handle, TALLOC_CTX *ctx, const struct smb_filename *smb_fname) @@ -505,6 +564,7 @@ struct smb_filename *vfs_not_implemented_realpath(vfs_handle_struct *handle, return NULL; } +_PUBLIC_ int vfs_not_implemented_fchflags(vfs_handle_struct *handle, struct files_struct *fsp, uint flags) @@ -513,6 +573,7 @@ int vfs_not_implemented_fchflags(vfs_handle_struct *handle, return -1; } +_PUBLIC_ struct file_id vfs_not_implemented_file_id_create(vfs_handle_struct *handle, const SMB_STRUCT_STAT *sbuf) { @@ -522,6 +583,7 @@ struct file_id vfs_not_implemented_file_id_create(vfs_handle_struct *handle, return id; } +_PUBLIC_ uint64_t vfs_not_implemented_fs_file_id(vfs_handle_struct *handle, const SMB_STRUCT_STAT *sbuf) { @@ -529,10 +591,12 @@ uint64_t vfs_not_implemented_fs_file_id(vfs_handle_struct *handle, return 0; } +_PUBLIC_ struct vfs_not_implemented_offload_read_state { bool dummy; }; +_PUBLIC_ struct tevent_req *vfs_not_implemented_offload_read_send( TALLOC_CTX *mem_ctx, struct tevent_context *ev, @@ -556,6 +620,7 @@ struct tevent_req *vfs_not_implemented_offload_read_send( return tevent_req_post(req, ev); } +_PUBLIC_ NTSTATUS vfs_not_implemented_offload_read_recv(struct tevent_req *req, struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, @@ -574,10 +639,12 @@ NTSTATUS vfs_not_implemented_offload_read_recv(struct tevent_req *req, return NT_STATUS_OK; } +_PUBLIC_ struct vfs_not_implemented_offload_write_state { uint64_t unused; }; +_PUBLIC_ struct tevent_req *vfs_not_implemented_offload_write_send( struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, @@ -602,6 +669,7 @@ struct tevent_req *vfs_not_implemented_offload_write_send( return tevent_req_post(req, ev); } +_PUBLIC_ NTSTATUS vfs_not_implemented_offload_write_recv(struct vfs_handle_struct *handle, struct tevent_req *req, off_t *copied) @@ -617,6 +685,7 @@ NTSTATUS vfs_not_implemented_offload_write_recv(struct vfs_handle_struct *handle return NT_STATUS_OK; } +_PUBLIC_ NTSTATUS vfs_not_implemented_fget_compression(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, struct files_struct *fsp, @@ -625,6 +694,7 @@ NTSTATUS vfs_not_implemented_fget_compression(struct vfs_handle_struct *handle, return NT_STATUS_INVALID_DEVICE_REQUEST; } +_PUBLIC_ NTSTATUS vfs_not_implemented_set_compression(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, struct files_struct *fsp, @@ -633,6 +703,7 @@ NTSTATUS vfs_not_implemented_set_compression(struct vfs_handle_struct *handle, return NT_STATUS_INVALID_DEVICE_REQUEST; } +_PUBLIC_ NTSTATUS vfs_not_implemented_fstreaminfo(struct vfs_handle_struct *handle, struct files_struct *fsp, TALLOC_CTX *mem_ctx, @@ -642,6 +713,7 @@ NTSTATUS vfs_not_implemented_fstreaminfo(struct vfs_handle_struct *handle, return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ int vfs_not_implemented_get_real_filename(struct vfs_handle_struct *handle, const struct smb_filename *path, const char *name, @@ -652,6 +724,7 @@ int vfs_not_implemented_get_real_filename(struct vfs_handle_struct *handle, return -1; } +_PUBLIC_ const char *vfs_not_implemented_connectpath(struct vfs_handle_struct *handle, const struct smb_filename *smb_fname) { @@ -659,6 +732,7 @@ const char *vfs_not_implemented_connectpath(struct vfs_handle_struct *handle, return NULL; } +_PUBLIC_ NTSTATUS vfs_not_implemented_brl_lock_windows(struct vfs_handle_struct *handle, struct byte_range_lock *br_lck, struct lock_struct *plock) @@ -666,6 +740,7 @@ NTSTATUS vfs_not_implemented_brl_lock_windows(struct vfs_handle_struct *handle, return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ bool vfs_not_implemented_brl_unlock_windows(struct vfs_handle_struct *handle, struct byte_range_lock *br_lck, const struct lock_struct *plock) @@ -674,6 +749,7 @@ bool vfs_not_implemented_brl_unlock_windows(struct vfs_handle_struct *handle, return false; } +_PUBLIC_ bool vfs_not_implemented_strict_lock_check(struct vfs_handle_struct *handle, struct files_struct *fsp, struct lock_struct *plock) @@ -682,6 +758,7 @@ bool vfs_not_implemented_strict_lock_check(struct vfs_handle_struct *handle, return false; } +_PUBLIC_ NTSTATUS vfs_not_implemented_translate_name(struct vfs_handle_struct *handle, const char *mapped_name, enum vfs_translate_direction direction, @@ -690,6 +767,7 @@ NTSTATUS vfs_not_implemented_translate_name(struct vfs_handle_struct *handle, return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_parent_pathname(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, const struct smb_filename *smb_fname_in, @@ -699,6 +777,7 @@ NTSTATUS vfs_not_implemented_parent_pathname(struct vfs_handle_struct *handle, return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_fsctl(struct vfs_handle_struct *handle, struct files_struct *fsp, TALLOC_CTX *ctx, @@ -712,6 +791,7 @@ NTSTATUS vfs_not_implemented_fsctl(struct vfs_handle_struct *handle, return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_freaddir_attr(struct vfs_handle_struct *handle, struct files_struct *fsp, TALLOC_CTX *mem_ctx, @@ -725,6 +805,7 @@ struct vfs_not_implemented_get_dos_attributes_state { uint32_t dosmode; }; +_PUBLIC_ struct tevent_req *vfs_not_implemented_get_dos_attributes_send( TALLOC_CTX *mem_ctx, struct tevent_context *ev, @@ -745,6 +826,7 @@ struct tevent_req *vfs_not_implemented_get_dos_attributes_send( return tevent_req_post(req, ev); } +_PUBLIC_ NTSTATUS vfs_not_implemented_get_dos_attributes_recv( struct tevent_req *req, struct vfs_aio_state *aio_state, @@ -766,6 +848,7 @@ NTSTATUS vfs_not_implemented_get_dos_attributes_recv( return NT_STATUS_OK; } +_PUBLIC_ NTSTATUS vfs_not_implemented_fget_dos_attributes(struct vfs_handle_struct *handle, struct files_struct *fsp, uint32_t *dosmode) @@ -773,6 +856,7 @@ NTSTATUS vfs_not_implemented_fget_dos_attributes(struct vfs_handle_struct *handl return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_fset_dos_attributes(struct vfs_handle_struct *handle, struct files_struct *fsp, uint32_t dosmode) @@ -780,6 +864,7 @@ NTSTATUS vfs_not_implemented_fset_dos_attributes(struct vfs_handle_struct *handl return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp, uint32_t security_info, TALLOC_CTX *mem_ctx, @@ -788,6 +873,7 @@ NTSTATUS vfs_not_implemented_fget_nt_acl(vfs_handle_struct *handle, files_struct return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp, uint32_t security_info_sent, const struct security_descriptor *psd) @@ -795,6 +881,7 @@ NTSTATUS vfs_not_implemented_fset_nt_acl(vfs_handle_struct *handle, files_struct return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ SMB_ACL_T vfs_not_implemented_sys_acl_get_fd(vfs_handle_struct *handle, files_struct *fsp, SMB_ACL_TYPE_T type, @@ -804,6 +891,7 @@ SMB_ACL_T vfs_not_implemented_sys_acl_get_fd(vfs_handle_struct *handle, return (SMB_ACL_T) NULL; } +_PUBLIC_ int vfs_not_implemented_sys_acl_blob_get_fd(vfs_handle_struct *handle, files_struct *fsp, TALLOC_CTX *mem_ctx, char **blob_description, DATA_BLOB *blob) @@ -812,6 +900,7 @@ int vfs_not_implemented_sys_acl_blob_get_fd(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_sys_acl_set_fd(vfs_handle_struct *handle, struct files_struct *fsp, SMB_ACL_TYPE_T type, @@ -821,6 +910,7 @@ int vfs_not_implemented_sys_acl_set_fd(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_sys_acl_delete_def_fd(vfs_handle_struct *handle, struct files_struct *fsp) { @@ -834,6 +924,7 @@ struct vfs_not_implemented_getxattrat_state { uint8_t *xattr_value; }; +_PUBLIC_ struct tevent_req *vfs_not_implemented_getxattrat_send( TALLOC_CTX *mem_ctx, struct tevent_context *ev, @@ -856,6 +947,7 @@ struct tevent_req *vfs_not_implemented_getxattrat_send( return tevent_req_post(req, ev); } +_PUBLIC_ ssize_t vfs_not_implemented_getxattrat_recv(struct tevent_req *req, struct vfs_aio_state *aio_state, TALLOC_CTX *mem_ctx, @@ -880,6 +972,7 @@ ssize_t vfs_not_implemented_getxattrat_recv(struct tevent_req *req, return xattr_size; } +_PUBLIC_ ssize_t vfs_not_implemented_fgetxattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *name, void *value, size_t size) @@ -888,6 +981,7 @@ ssize_t vfs_not_implemented_fgetxattr(vfs_handle_struct *handle, return -1; } +_PUBLIC_ ssize_t vfs_not_implemented_flistxattr(vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size) @@ -896,6 +990,7 @@ ssize_t vfs_not_implemented_flistxattr(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_fremovexattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *name) { @@ -903,6 +998,7 @@ int vfs_not_implemented_fremovexattr(vfs_handle_struct *handle, return -1; } +_PUBLIC_ int vfs_not_implemented_fsetxattr(vfs_handle_struct *handle, struct files_struct *fsp, const char *name, const void *value, size_t size, int flags) @@ -911,6 +1007,7 @@ int vfs_not_implemented_fsetxattr(vfs_handle_struct *handle, struct files_struct return -1; } +_PUBLIC_ bool vfs_not_implemented_aio_force(struct vfs_handle_struct *handle, struct files_struct *fsp) { @@ -918,6 +1015,7 @@ bool vfs_not_implemented_aio_force(struct vfs_handle_struct *handle, return false; } +_PUBLIC_ NTSTATUS vfs_not_implemented_audit_file(struct vfs_handle_struct *handle, struct smb_filename *file, struct security_acl *sacl, @@ -927,6 +1025,7 @@ NTSTATUS vfs_not_implemented_audit_file(struct vfs_handle_struct *handle, return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_durable_cookie(struct vfs_handle_struct *handle, struct files_struct *fsp, TALLOC_CTX *mem_ctx, @@ -935,6 +1034,7 @@ NTSTATUS vfs_not_implemented_durable_cookie(struct vfs_handle_struct *handle, return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_durable_disconnect(struct vfs_handle_struct *handle, struct files_struct *fsp, const DATA_BLOB old_cookie, @@ -944,6 +1044,7 @@ NTSTATUS vfs_not_implemented_durable_disconnect(struct vfs_handle_struct *handle return NT_STATUS_NOT_IMPLEMENTED; } +_PUBLIC_ NTSTATUS vfs_not_implemented_durable_reconnect(struct vfs_handle_struct *handle, struct smb_request *smb1req, struct smbXsrv_open *op,