summaryrefslogtreecommitdiff
path: root/source4/libcli/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-14 15:03:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:16 -0500
commite3f2414cf9e582a4e4deecc662b64a7bb2679a34 (patch)
treed7f9afc1db09bce58ff895418c97c36e6bb33908 /source4/libcli/auth
parenteefe30b7d8e17ed744318417954669bacf2b3ac0 (diff)
downloadsamba-e3f2414cf9e582a4e4deecc662b64a7bb2679a34.tar.gz
samba-e3f2414cf9e582a4e4deecc662b64a7bb2679a34.tar.bz2
samba-e3f2414cf9e582a4e4deecc662b64a7bb2679a34.zip
r14380: Reduce the size of structs.h
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r--source4/libcli/auth/libcli_auth.h25
-rw-r--r--source4/libcli/auth/smbencrypt.c3
2 files changed, 26 insertions, 2 deletions
diff --git a/source4/libcli/auth/libcli_auth.h b/source4/libcli/auth/libcli_auth.h
new file mode 100644
index 0000000000..f8f07e8337
--- /dev/null
+++ b/source4/libcli/auth/libcli_auth.h
@@ -0,0 +1,25 @@
+/*
+ samba -- Unix SMB/CIFS implementation.
+
+ 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 2 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, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+#ifndef __LIBCLI_AUTH_H__
+#define __LIBCLI_AUTH_H__
+
+#include "librpc/gen_ndr/netlogon.h"
+#include "auth/credentials/credentials.h"
+#include "libcli/auth/proto.h"
+
+#endif /* __LIBCLI_AUTH_H__ */
diff --git a/source4/libcli/auth/smbencrypt.c b/source4/libcli/auth/smbencrypt.c
index 587fb98920..24fdeff33f 100644
--- a/source4/libcli/auth/smbencrypt.c
+++ b/source4/libcli/auth/smbencrypt.c
@@ -28,8 +28,7 @@
#include "auth/ntlmssp/ntlmssp.h"
#include "auth/ntlmssp/msrpc_parse.h"
#include "lib/crypto/crypto.h"
-#include "auth/credentials/credentials.h"
-#include "libcli/auth/proto.h"
+#include "libcli/auth/libcli_auth.h"
#include "pstring.h"
/*