summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-25 00:03:01 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:06 +0200
commit99f4a6454356c563704c6acb762679a6afa90737 (patch)
treecf3891ae73943313a5a5b395df78ef672b4f714c /source3/libsmb
parentd85f140826374dd5ad3e7099b6bdb74967c6b9da (diff)
downloadsamba-99f4a6454356c563704c6acb762679a6afa90737.tar.gz
samba-99f4a6454356c563704c6acb762679a6afa90737.tar.bz2
samba-99f4a6454356c563704c6acb762679a6afa90737.zip
s3-trans2: only include trans2.h where needed.
Guenther
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clidfs.c1
-rw-r--r--source3/libsmb/clifile.c1
-rw-r--r--source3/libsmb/clifsinfo.c1
-rw-r--r--source3/libsmb/clilist.c1
-rw-r--r--source3/libsmb/cliquota.c1
-rw-r--r--source3/libsmb/clirap.c1
-rw-r--r--source3/libsmb/clireadwrite.c1
7 files changed, 7 insertions, 0 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index 957bf4d707..c252b85f8e 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "libsmb/clirap.h"
#include "msdfs.h"
+#include "trans2.h"
/********************************************************************
Important point.
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 6e4cf90e51..3ffe520fa7 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -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()
diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c
index 7845a9de07..ebd04e6d2b 100644
--- a/source3/libsmb/clifsinfo.c
+++ b/source3/libsmb/clifsinfo.c
@@ -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.
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c
index 87c66672e1..552de00242 100644
--- a/source3/libsmb/clilist.c
+++ b/source3/libsmb/clilist.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "async_smb.h"
+#include "trans2.h"
/****************************************************************************
Calculate a safe next_entry_offset.
diff --git a/source3/libsmb/cliquota.c b/source3/libsmb/cliquota.c
index 87ca00fd14..e05b64e686 100644
--- a/source3/libsmb/cliquota.c
+++ b/source3/libsmb/cliquota.c
@@ -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)
{
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index 141db7131e..8d1be2d66e 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -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"
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c
index a6620d9f5e..59f8ac3aee 100644
--- a/source3/libsmb/clireadwrite.c
+++ b/source3/libsmb/clireadwrite.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "async_smb.h"
+#include "trans2.h"
/****************************************************************************
Calculate the recommended read buffer size