summaryrefslogtreecommitdiffstats
path: root/source3/include/privileges.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-05-06 13:10:10 +0000
committerSimo Sorce <idra@samba.org>2003-05-06 13:10:10 +0000
commit9cd45eeaf96b67dd772a6b8e5ef6df7ea10dfd31 (patch)
treed552de64359c14fc37bdea34d5960f5fd0f1d316 /source3/include/privileges.h
parent0c6cdfadfda8e2fcb9b7766068670b7468db4c62 (diff)
downloadsamba-9cd45eeaf96b67dd772a6b8e5ef6df7ea10dfd31.tar.gz
samba-9cd45eeaf96b67dd772a6b8e5ef6df7ea10dfd31.tar.xz
samba-9cd45eeaf96b67dd772a6b8e5ef6df7ea10dfd31.zip
sort out some include dependencies
split out privileges from rpc_lsa.h (This used to be commit 37d7cc8162d02a664095dbe0fc8d7250d1ed51c9)
Diffstat (limited to 'source3/include/privileges.h')
-rw-r--r--source3/include/privileges.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/source3/include/privileges.h b/source3/include/privileges.h
new file mode 100644
index 00000000000..404c5d246bc
--- /dev/null
+++ b/source3/include/privileges.h
@@ -0,0 +1,45 @@
+/*
+ Unix SMB/CIFS implementation.
+ SMB parameters and setup
+ Copyright (C) Andrew Tridgell 1992-1997
+ Copyright (C) Luke Kenneth Casson Leighton 1996-1997
+ Copyright (C) Paul Ashton 1997
+
+ 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 PRIVILEGES_H
+#define PRIVILEGES_H
+
+typedef struct LUID
+{
+ uint32 low;
+ uint32 high;
+} LUID;
+
+typedef struct LUID_ATTR
+{
+ LUID luid;
+ uint32 attr;
+} LUID_ATTR ;
+
+typedef struct privilege_set
+{
+ uint32 count;
+ uint32 control;
+ LUID_ATTR *set;
+} PRIVILEGE_SET;
+
+#endif /* _RPC_LSA_H */