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

smbd: Remove srv_send_smb

Signed-off-by: David Mulder <dmulder@suse.com>
Signed-off-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
David Mulder 2022-03-31 13:09:57 -06:00 committed by Jeremy Allison
parent a48bf2431e
commit e17ad24c02
2 changed files with 0 additions and 20 deletions

View File

@ -847,10 +847,6 @@ NTSTATUS make_default_filesystem_acl(
/* The following definitions come from smbd/smb2_process.c */
bool srv_send_smb(struct smbXsrv_connection *xconn, char *buffer,
bool no_signing, uint32_t seqnum,
bool do_encrypt,
struct smb_perfcount_data *pcd);
bool smb2_srv_send(struct smbXsrv_connection *xconn, char *buffer,
bool no_signing, uint32_t seqnum,
bool do_encrypt,

View File

@ -123,22 +123,6 @@ bool smb1_srv_send(struct smbXsrv_connection *xconn, char *buffer,
}
#endif
#if 0
bool srv_send_smb(struct smbXsrv_connection *xconn, char *buffer,
bool do_signing, uint32_t seqnum,
bool do_encrypt,
struct smb_perfcount_data *pcd)
{
#if !defined(WITH_SMB1SERVER)
return smb2_srv_send(xconn, buffer, do_signing, seqnum,
do_encrypt, pcd);
#else
return smb1_srv_send(xconn, buffer, do_signing, seqnum,
do_encrypt, pcd);
#endif
}
#endif
/*******************************************************************
Setup the word count and byte count for a smb message.
********************************************************************/