1
0
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:
Günther Deschner 2011-02-25 00:03:01 +01:00
parent d85f140826
commit 99f4a64543
16 changed files with 15 additions and 1 deletions

View File

@ -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

View File

@ -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"

View File

@ -22,6 +22,7 @@
#include "includes.h"
#include "libsmb/clirap.h"
#include "msdfs.h"
#include "trans2.h"
/********************************************************************
Important point.

View File

@ -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()

View File

@ -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.

View File

@ -19,6 +19,7 @@
#include "includes.h"
#include "async_smb.h"
#include "trans2.h"
/****************************************************************************
Calculate a safe next_entry_offset.

View File

@ -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)
{

View File

@ -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"

View File

@ -19,6 +19,7 @@
#include "includes.h"
#include "async_smb.h"
#include "trans2.h"
/****************************************************************************
Calculate the recommended read buffer size

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "../libcli/security/security.h"
#include "trans2.h"
extern const struct generic_mapping file_generic_mapping;

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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

View File

@ -18,6 +18,7 @@
*/
#include "includes.h"
#include "trans2.h"
static fstring password;
static fstring username;

View File

@ -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;