summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-11-22 19:40:09 -0800
committerTim Prouty <tprouty@samba.org>2008-12-03 17:51:35 -0800
commitf79aae70dd10877311243b5b2a55e1f130bd54b6 (patch)
treec9ccc7bdc2555e9dc7224699389011419eb91b16 /source3/include
parent6f7f4b428a86921e9532c62856873a19202f286d (diff)
downloadsamba-f79aae70dd10877311243b5b2a55e1f130bd54b6.tar.gz
samba-f79aae70dd10877311243b5b2a55e1f130bd54b6.tar.bz2
samba-f79aae70dd10877311243b5b2a55e1f130bd54b6.zip
s3: Simplify the create_file_unix_path->open_file_ntcreate path
Also removed open_file_ntcreate/open_file from proto.h so they can no longer be called directly.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index c32234a1d8..08ecbfd1e5 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -8100,34 +8100,10 @@ bool map_open_params_to_ntcreate(const char *fname, int deny_mode, int open_func
uint32 *pshare_mode,
uint32 *pcreate_disposition,
uint32 *pcreate_options);
-NTSTATUS open_file_ntcreate(connection_struct *conn,
- struct smb_request *req,
- const char *fname,
- SMB_STRUCT_STAT *psbuf,
- uint32 access_mask, /* access bits (FILE_READ_DATA etc.) */
- uint32 share_access, /* share constants (FILE_SHARE_READ etc) */
- uint32 create_disposition, /* FILE_OPEN_IF etc. */
- uint32 create_options, /* options such as delete on close. */
- uint32 new_dos_attributes, /* attributes used for new file. */
- int oplock_request, /* internal Samba oplock codes. */
- /* Information (FILE_EXISTS etc.) */
- int *pinfo,
- files_struct **result);
NTSTATUS open_file_fchmod(struct smb_request *req, connection_struct *conn,
const char *fname,
SMB_STRUCT_STAT *psbuf, files_struct **result);
NTSTATUS close_file_fchmod(struct smb_request *req, files_struct *fsp);
-NTSTATUS open_directory(connection_struct *conn,
- struct smb_request *req,
- const char *fname,
- SMB_STRUCT_STAT *psbuf,
- uint32 access_mask,
- uint32 share_access,
- uint32 create_disposition,
- uint32 create_options,
- uint32 file_attributes,
- int *pinfo,
- files_struct **result);
NTSTATUS create_directory(connection_struct *conn, struct smb_request *req, const char *directory);
void msg_file_was_renamed(struct messaging_context *msg,
void *private_data,