mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +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:
parent
a48bf2431e
commit
e17ad24c02
@ -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,
|
||||
|
@ -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.
|
||||
********************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user