s3:smbd: make smbd_do_qfilepathinfo() non static for use in SMB2
[samba.git] / source3 / smbd / globals.h
index 8163213dd032b73c35c6db11e405267243752723..725a94a90b6229c930b53322146c7fefcb8bd316 100644 (file)
@@ -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);