mirror of
https://github.com/samba-team/samba.git
synced 2025-03-24 10:50:22 +03:00
smbd: Move lanman.c -> smb1_lanman.c
lanman.c only contains smb1 code. Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
92b6efe3ab
commit
e00b09ce49
@ -486,14 +486,6 @@ void send_trans_reply(connection_struct *conn,
|
||||
void reply_trans(struct smb_request *req);
|
||||
void reply_transs(struct smb_request *req);
|
||||
|
||||
/* The following definitions come from smbd/lanman.c */
|
||||
|
||||
void api_reply(connection_struct *conn, uint64_t vuid,
|
||||
struct smb_request *req,
|
||||
char *data, char *params,
|
||||
int tdscnt, int tpscnt,
|
||||
int mdrcnt, int mprcnt);
|
||||
|
||||
/* The following definitions come from smbd/mangle.c */
|
||||
|
||||
void mangle_reset_cache(void);
|
||||
|
28
source3/smbd/smb1_lanman.h
Normal file
28
source3/smbd/smb1_lanman.h
Normal file
@ -0,0 +1,28 @@
|
||||
/*
|
||||
Unix SMB/CIFS implementation.
|
||||
Inter-process communication and named pipe handling
|
||||
Copyright (C) Andrew Tridgell 1992-1998
|
||||
Copyright (C) Jeremy Allison 2007.
|
||||
|
||||
SMB Version handling
|
||||
Copyright (C) John H Terpstra 1995-1998
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
void api_reply(connection_struct *conn, uint64_t vuid,
|
||||
struct smb_request *req,
|
||||
char *data, char *params,
|
||||
int tdscnt, int tpscnt,
|
||||
int mdrcnt, int mprcnt);
|
@ -29,6 +29,7 @@ struct dptr_struct;
|
||||
#if defined(WITH_SMB1SERVER)
|
||||
#include "smbd/smb1_message.h"
|
||||
#include "smbd/smb1_sesssetup.h"
|
||||
#include "smbd/smb1_lanman.h"
|
||||
#endif
|
||||
|
||||
struct trans_state {
|
||||
|
@ -612,7 +612,7 @@ bld.SAMBA3_LIBRARY('smbd_base',
|
||||
smbd/share_access.c
|
||||
smbd/fileio.c
|
||||
smbd/ipc.c
|
||||
smbd/lanman.c
|
||||
smbd/smb1_lanman.c
|
||||
smbd/negprot.c
|
||||
smbd/smb1_message.c
|
||||
smbd/nttrans.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user