From e3f2414cf9e582a4e4deecc662b64a7bb2679a34 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 14 Mar 2006 15:03:25 +0000 Subject: r14380: Reduce the size of structs.h (This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe) --- source4/libcli/auth/libcli_auth.h | 25 +++++++++++++++++++++++++ source4/libcli/auth/smbencrypt.c | 3 +-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 source4/libcli/auth/libcli_auth.h (limited to 'source4/libcli/auth') 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" /* -- cgit