smbd: Make get_relative_fid_filename() static to open.c
[samba.git] / source3 / smbd / proto.h
index 2c8e33430c9dd5a96d6bceedb1937326faf55ad9..37eeb9f31ca4345d7a606fa8e6b7fa7eb3bbc019 100644 (file)
@@ -98,7 +98,6 @@ bool aio_add_req_to_fsp(files_struct *fsp, struct tevent_req *req);
 struct timeval timeval_brl_min(const struct timeval *tv1,
                        const struct timeval *tv2);
 NTSTATUS smbd_do_locks_try(
-       struct messaging_context *msg_ctx,
        struct files_struct *fsp,
        enum brl_flavour lock_flav,
        uint16_t num_locks,
@@ -109,7 +108,6 @@ NTSTATUS smbd_do_locks_try(
 struct tevent_req *smbd_smb1_do_locks_send(
        TALLOC_CTX *mem_ctx,
        struct tevent_context *ev,
-       struct messaging_context *msg_ctx,
        struct smb_request **smbreq, /* talloc_move()d into our state */
        struct files_struct *fsp,
        uint32_t timeout,
@@ -717,17 +715,10 @@ NTSTATUS create_file_default(connection_struct *conn,
                             const struct smb2_create_blobs *in_context_blobs,
                             struct smb2_create_blobs *out_context_blobs);
 
-NTSTATUS get_relative_fid_filename(connection_struct *conn,
-                                  struct smb_request *req,
-                                  uint16_t root_dir_fid,
-                                  const struct smb_filename *smb_fname,
-                                  struct smb_filename **smb_fname_out);
-
 /* The following definitions come from smbd/oplock.c  */
 
 uint32_t get_lease_type(const struct share_mode_data *d,
                        const struct share_mode_entry *e);
-bool update_num_read_oplocks(files_struct *fsp, struct share_mode_lock *lck);
 
 void break_kernel_oplock(struct messaging_context *msg_ctx, files_struct *fsp);
 NTSTATUS set_file_oplock(files_struct *fsp);
@@ -808,10 +799,9 @@ int inherit_access_posix_acl(connection_struct *conn,
                        const struct smb_filename *smb_fname,
                        mode_t mode);
 NTSTATUS set_unix_posix_default_acl(connection_struct *conn,
-                               const struct smb_filename *smb_fname,
+                               files_struct *fsp,
                                uint16_t num_def_acls, const char *pdata);
 NTSTATUS set_unix_posix_acl(connection_struct *conn, files_struct *fsp,
-                               const struct smb_filename *smb_fname,
                                uint16_t num_acls,
                                const char *pdata);
 NTSTATUS get_nt_acl_no_snum( TALLOC_CTX *ctx, const char *fname,
@@ -1162,8 +1152,6 @@ int sys_statvfs(const char *path, vfs_statvfs_struct *statbuf);
 NTSTATUS check_access_fsp(const struct files_struct *fsp,
                          uint32_t access_mask);
 uint64_t smb_roundup(connection_struct *conn, uint64_t val);
-uint64_t get_FileIndex(connection_struct *conn, const SMB_STRUCT_STAT *psbuf);
-void aapl_force_zero_file_id(struct smbd_server_connection *sconn);
 bool samba_private_attr_name(const char *unix_ea_name);
 NTSTATUS get_ea_value(TALLOC_CTX *mem_ctx, connection_struct *conn,
                        files_struct *fsp,