mirror of
https://github.com/samba-team/samba.git
synced 2025-03-24 10:50:22 +03:00
smbd: Move message.c -> smb1_message.c
message.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
77343f8f5e
commit
2266fd4cce
@ -523,13 +523,6 @@ const struct mangle_fns *mangle_hash_init(void);
|
||||
const struct mangle_fns *mangle_hash2_init(void);
|
||||
const struct mangle_fns *posix_mangle_init(void);
|
||||
|
||||
/* The following definitions come from smbd/message.c */
|
||||
|
||||
void reply_sends(struct smb_request *req);
|
||||
void reply_sendstrt(struct smb_request *req);
|
||||
void reply_sendtxt(struct smb_request *req);
|
||||
void reply_sendend(struct smb_request *req);
|
||||
|
||||
/* The following definitions come from smbd/msdfs.c */
|
||||
|
||||
bool parse_msdfs_symlink(TALLOC_CTX *ctx,
|
||||
|
23
source3/smbd/smb1_message.h
Normal file
23
source3/smbd/smb1_message.h
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
Unix SMB/CIFS implementation.
|
||||
SMB messaging
|
||||
Copyright (C) Andrew Tridgell 1992-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 reply_sends(struct smb_request *req);
|
||||
void reply_sendstrt(struct smb_request *req);
|
||||
void reply_sendtxt(struct smb_request *req);
|
||||
void reply_sendend(struct smb_request *req);
|
@ -26,6 +26,9 @@ struct dptr_struct;
|
||||
#include "smbd/proto.h"
|
||||
#include "locking/proto.h"
|
||||
#include "smbd/fd_handle.h"
|
||||
#if defined(WITH_SMB1SERVER)
|
||||
#include "smbd/smb1_message.h"
|
||||
#endif
|
||||
|
||||
struct trans_state {
|
||||
struct trans_state *next, *prev;
|
||||
|
@ -614,7 +614,7 @@ bld.SAMBA3_LIBRARY('smbd_base',
|
||||
smbd/ipc.c
|
||||
smbd/lanman.c
|
||||
smbd/negprot.c
|
||||
smbd/message.c
|
||||
smbd/smb1_message.c
|
||||
smbd/nttrans.c
|
||||
smbd/pipes.c
|
||||
smbd/reply.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user