}
}
-/****************************************************************************
- Are there any SMB1 searches active on this connection struct ?
-****************************************************************************/
-
-bool dptr_activecnum(const struct smbd_server_connection *sconn,
- const struct connection_struct *conn)
-{
- const struct dptr_struct *dptr;
-
- for(dptr = sconn->searches.dirptrs; dptr; dptr = dptr->next) {
- if (dptr->conn == conn) {
- return true;
- }
- }
- return false;
-}
-
/****************************************************************************
Create a new dir ptr. If the flag old_handle is true then we must allocate
from the bitmap range 0 - 255 as old SMBsearch directory handles are only
files_struct *dptr_fsp(struct smbd_server_connection *sconn, int key);
void dptr_close(struct smbd_server_connection *sconn, int *key);
void dptr_closecnum(connection_struct *conn);
-bool dptr_activecnum(const struct smbd_server_connection *sconn,
- const struct connection_struct *conn);
NTSTATUS dptr_create(connection_struct *conn,
struct smb_request *req,
files_struct *fsp,