1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

smbd: remove dptr_init_search_op()

This function is now not being used.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Uri Simchoni 2017-11-10 21:38:41 +02:00 committed by Jeremy Allison
parent b8aa599f06
commit 1d9e8ff87b
2 changed files with 0 additions and 9 deletions

View File

@ -886,14 +886,6 @@ bool dptr_SearchDir(struct dptr_struct *dptr, const char *name, long *poffset, S
return SearchDir(dptr->dir_hnd, name, poffset);
}
/****************************************************************************
Initialize variables & state data at the beginning of all search SMB requests.
****************************************************************************/
void dptr_init_search_op(struct dptr_struct *dptr)
{
SMB_VFS_INIT_SEARCH_OP(dptr->conn, dptr->dir_hnd->dir);
}
/****************************************************************************
Map a native directory offset to a 32-bit cookie.
****************************************************************************/

View File

@ -207,7 +207,6 @@ int dptr_dnum(struct dptr_struct *dptr);
bool dptr_get_priv(struct dptr_struct *dptr);
void dptr_set_priv(struct dptr_struct *dptr);
bool dptr_SearchDir(struct dptr_struct *dptr, const char *name, long *poffset, SMB_STRUCT_STAT *pst);
void dptr_init_search_op(struct dptr_struct *dptr);
bool dptr_fill(struct smbd_server_connection *sconn,
char *buf1,unsigned int key);
struct dptr_struct *dptr_fetch(struct smbd_server_connection *sconn,