mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
s3-trans2: only include trans2.h where needed.
Guenther
This commit is contained in:
parent
d85f140826
commit
99f4a64543
@ -32,6 +32,7 @@
|
||||
#include "../libcli/security/security.h"
|
||||
#include "system/select.h"
|
||||
#include "libsmb/clirap.h"
|
||||
#include "trans2.h"
|
||||
|
||||
#ifndef REGISTER
|
||||
#define REGISTER 0
|
||||
|
@ -539,7 +539,6 @@ typedef char fstring[FSTRING_LEN];
|
||||
#include "../lib/util/time.h"
|
||||
|
||||
#include "libads/ads_status.h"
|
||||
#include "trans2.h"
|
||||
#include "../libcli/util/error.h"
|
||||
#include "ntioctl.h"
|
||||
#include "../lib/util/charset/charset.h"
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "includes.h"
|
||||
#include "libsmb/clirap.h"
|
||||
#include "msdfs.h"
|
||||
#include "trans2.h"
|
||||
|
||||
/********************************************************************
|
||||
Important point.
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "includes.h"
|
||||
#include "async_smb.h"
|
||||
#include "libsmb/clirap.h"
|
||||
#include "trans2.h"
|
||||
|
||||
/***********************************************************
|
||||
Common function for pushing stings, used by smb_bytes_push_str()
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "../libcli/auth/ntlmssp.h"
|
||||
#include "async_smb.h"
|
||||
#include "smb_crypt.h"
|
||||
#include "trans2.h"
|
||||
|
||||
/****************************************************************************
|
||||
Get UNIX extensions version info.
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "async_smb.h"
|
||||
#include "trans2.h"
|
||||
|
||||
/****************************************************************************
|
||||
Calculate a safe next_entry_offset.
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "../librpc/gen_ndr/ndr_security.h"
|
||||
#include "fake_file.h"
|
||||
#include "../libcli/security/security.h"
|
||||
#include "trans2.h"
|
||||
|
||||
NTSTATUS cli_get_quota_handle(struct cli_state *cli, uint16_t *quota_fnum)
|
||||
{
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "../lib/crypto/arcfour.h"
|
||||
#include "async_smb.h"
|
||||
#include "libsmb/clirap.h"
|
||||
#include "trans2.h"
|
||||
|
||||
#define PIPE_LANMAN "\\PIPE\\LANMAN"
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "async_smb.h"
|
||||
#include "trans2.h"
|
||||
|
||||
/****************************************************************************
|
||||
Calculate the recommended read buffer size
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "../libcli/security/security.h"
|
||||
#include "trans2.h"
|
||||
|
||||
extern const struct generic_mapping file_generic_mapping;
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "includes.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "../libcli/smb/smb_common.h"
|
||||
#include "trans2.h"
|
||||
|
||||
static struct tevent_req *smbd_smb2_find_send(TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "includes.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "../libcli/smb/smb_common.h"
|
||||
#include "trans2.h"
|
||||
|
||||
static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "includes.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "../libcli/smb/smb_common.h"
|
||||
#include "trans2.h"
|
||||
|
||||
static struct tevent_req *smbd_smb2_setinfo_send(TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "../librpc/gen_ndr/xattr.h"
|
||||
#include "../librpc/gen_ndr/ndr_security.h"
|
||||
#include "libcli/security/security.h"
|
||||
#include "trans2.h"
|
||||
|
||||
#define DIR_ENTRY_SAFETY_MARGIN 4096
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "trans2.h"
|
||||
|
||||
static fstring password;
|
||||
static fstring username;
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "talloc_dict.h"
|
||||
#include "async_smb.h"
|
||||
#include "libsmb/clirap.h"
|
||||
#include "trans2.h"
|
||||
|
||||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
Loading…
x
Reference in New Issue
Block a user