summaryrefslogtreecommitdiff
path: root/source4/libcli/security
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-04-02 12:02:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:44 -0500
commit1af925f394b1084779f5b1b5a10c2ec512d7e5be (patch)
tree9aca888549fe9011aaf3e364fa2c18a1e6708335 /source4/libcli/security
parent508ba6026a0c958ac71762d36086742ec4825143 (diff)
downloadsamba-1af925f394b1084779f5b1b5a10c2ec512d7e5be.tar.gz
samba-1af925f394b1084779f5b1b5a10c2ec512d7e5be.tar.bz2
samba-1af925f394b1084779f5b1b5a10c2ec512d7e5be.zip
r14860: create libcli/security/security.h
metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
Diffstat (limited to 'source4/libcli/security')
-rw-r--r--source4/libcli/security/access_check.c3
-rw-r--r--source4/libcli/security/sddl.c2
-rw-r--r--source4/libcli/security/security.h22
-rw-r--r--source4/libcli/security/security_descriptor.c3
-rw-r--r--source4/libcli/security/security_token.c2
5 files changed, 26 insertions, 6 deletions
diff --git a/source4/libcli/security/access_check.c b/source4/libcli/security/access_check.c
index 1617963998..cd877db9c5 100644
--- a/source4/libcli/security/access_check.c
+++ b/source4/libcli/security/access_check.c
@@ -21,8 +21,7 @@
*/
#include "includes.h"
-#include "librpc/gen_ndr/security.h"
-#include "libcli/security/proto.h"
+#include "libcli/security/security.h"
/*
diff --git a/source4/libcli/security/sddl.c b/source4/libcli/security/sddl.c
index 38192fc60c..46183ce237 100644
--- a/source4/libcli/security/sddl.c
+++ b/source4/libcli/security/sddl.c
@@ -23,7 +23,7 @@
#include "includes.h"
#include "system/iconv.h"
#include "librpc/gen_ndr/ndr_security.h"
-#include "libcli/security/proto.h"
+#include "libcli/security/security.h"
struct flag_map {
const char *name;
diff --git a/source4/libcli/security/security.h b/source4/libcli/security/security.h
new file mode 100644
index 0000000000..eca6878031
--- /dev/null
+++ b/source4/libcli/security/security.h
@@ -0,0 +1,22 @@
+/*
+ Unix SMB/CIFS implementation.
+
+ Copyright (C) Stefan Metzmacher 2006
+
+ 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.
+*/
+
+#include "librpc/gen_ndr/security.h"
+#include "libcli/security/proto.h"
diff --git a/source4/libcli/security/security_descriptor.c b/source4/libcli/security/security_descriptor.c
index 1da3e2e750..f7972f57ac 100644
--- a/source4/libcli/security/security_descriptor.c
+++ b/source4/libcli/security/security_descriptor.c
@@ -21,8 +21,7 @@
*/
#include "includes.h"
-#include "librpc/gen_ndr/security.h"
-#include "libcli/security/proto.h"
+#include "libcli/security/security.h"
/*
return a blank security descriptor (no owners, dacl or sacl)
diff --git a/source4/libcli/security/security_token.c b/source4/libcli/security/security_token.c
index 5fcde246ef..6e380a62ad 100644
--- a/source4/libcli/security/security_token.c
+++ b/source4/libcli/security/security_token.c
@@ -23,7 +23,7 @@
#include "includes.h"
#include "dsdb/samdb/samdb.h"
-#include "libcli/security/proto.h"
+#include "libcli/security/security.h"
#include "librpc/gen_ndr/ndr_security.h"
/*