From: Stefan Metzmacher Date: Fri, 10 Jul 2009 18:02:44 +0000 (+0200) Subject: s3:smbd: make smbd_do_qfilepathinfo() non static for use in SMB2 X-Git-Tag: tevent-0.9.8~710^2~239 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=0ba532e1b2dedea3c07fa55631fac0d9a5032fcf s3:smbd: make smbd_do_qfilepathinfo() non static for use in SMB2 metze --- diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 8163213dd03..725a94a90b6 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -185,6 +185,22 @@ NTSTATUS smbd_do_locking(struct smb_request *req, struct smbd_lock_element *locks, bool *async); +NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn, + TALLOC_CTX *mem_ctx, + uint16_t info_level, + files_struct *fsp, + const struct smb_filename *smb_fname, + bool delete_pending, + struct timespec write_time_ts, + bool ms_dfs_link, + struct ea_list *ea_list, + int lock_data_count, + char *lock_data, + uint16_t flags2, + unsigned int max_data_bytes, + char **ppdata, + unsigned int *pdata_size); + void smbd_server_connection_terminate_ex(struct smbd_server_connection *sconn, const char *reason, const char *location); diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 757e5f5c8bd..29abbfe3f5d 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3878,21 +3878,21 @@ static void call_trans2qpipeinfo(connection_struct *conn, return; } -static NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn, - TALLOC_CTX *mem_ctx, - uint16_t info_level, - files_struct *fsp, - const struct smb_filename *smb_fname, - bool delete_pending, - struct timespec write_time_ts, - bool ms_dfs_link, - struct ea_list *ea_list, - int lock_data_count, - char *lock_data, - uint16_t flags2, - unsigned int max_data_bytes, - char **ppdata, - unsigned int *pdata_size) +NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn, + TALLOC_CTX *mem_ctx, + uint16_t info_level, + files_struct *fsp, + const struct smb_filename *smb_fname, + bool delete_pending, + struct timespec write_time_ts, + bool ms_dfs_link, + struct ea_list *ea_list, + int lock_data_count, + char *lock_data, + uint16_t flags2, + unsigned int max_data_bytes, + char **ppdata, + unsigned int *pdata_size) { char *pdata = *ppdata; char *dstart, *dend;