return True;
}
-/****************************************************************************
- Return true if this mid is on the deferred queue and was not yet processed.
-****************************************************************************/
-
-bool open_was_deferred(struct smbXsrv_connection *xconn, uint64_t mid)
-{
- struct smbd_server_connection *sconn = xconn->client->sconn;
- struct pending_message_list *pml;
-
- if (sconn->using_smb2) {
- return open_was_deferred_smb2(xconn, mid);
- }
-
- for (pml = sconn->deferred_open_queue; pml; pml = pml->next) {
- if (((uint64_t)SVAL(pml->buf.data,smb_mid)) == mid && !pml->processed) {
- return True;
- }
- }
- return False;
-}
-
/****************************************************************************
Return the message queued by this mid.
****************************************************************************/
bool do_signing, uint32_t seqnum,
bool do_encrypt,
struct smb_perfcount_data *pcd);
-bool open_was_deferred(struct smbXsrv_connection *xconn, uint64_t mid);
bool get_deferred_open_message_state(struct smb_request *smbreq,
struct timeval *p_request_time,
struct deferred_open_record **open_rec);
uint64_t mid);
bool schedule_deferred_open_message_smb(struct smbXsrv_connection *xconn,
uint64_t mid);
+bool open_was_deferred(struct smbXsrv_connection *xconn, uint64_t mid);
/* The following definitions come from smbd/quotas.c */
return false;
}
+
+/****************************************************************************
+ Return true if this mid is on the deferred queue and was not yet processed.
+****************************************************************************/
+
+bool open_was_deferred(struct smbXsrv_connection *xconn, uint64_t mid)
+{
+ struct smbd_server_connection *sconn = xconn->client->sconn;
+ struct pending_message_list *pml;
+
+ if (sconn->using_smb2) {
+ return open_was_deferred_smb2(xconn, mid);
+ }
+
+ for (pml = sconn->deferred_open_queue; pml; pml = pml->next) {
+ if (((uint64_t)SVAL(pml->buf.data,smb_mid)) == mid && !pml->processed) {
+ return True;
+ }
+ }
+ return False;
+}