summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-05-31 13:25:34 +0200
committerMichael Adam <obnox@samba.org>2011-05-31 18:37:29 +0200
commite40331552137f513c6c2404d96adcf421212ec86 (patch)
tree869452bf09eb248134a39862330fa4fc58e7904a /source3
parent942ae874b85570f44b3257c8d229792ede7f8fd9 (diff)
downloadsamba-e40331552137f513c6c2404d96adcf421212ec86.tar.gz
samba-e40331552137f513c6c2404d96adcf421212ec86.tar.bz2
samba-e40331552137f513c6c2404d96adcf421212ec86.zip
s3:rpc_server: add _RPC_SERVER_SRV_ACCESS_CHECK_H_ guard to srv_access_check.h
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_access_check.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_access_check.h b/source3/rpc_server/srv_access_check.h
index db25ed65a4..72ce539568 100644
--- a/source3/rpc_server/srv_access_check.h
+++ b/source3/rpc_server/srv_access_check.h
@@ -27,6 +27,9 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _RPC_SERVER_SRV_ACCESS_CHECK_H_
+#define _RPC_SERVER_SRV_ACCESS_CHECK_H_
+
/* The following definitions come from rpc_server/srv_access_check.c */
NTSTATUS access_check_object( struct security_descriptor *psd, struct security_token *token,
@@ -37,3 +40,5 @@ NTSTATUS access_check_object( struct security_descriptor *psd, struct security_t
void map_max_allowed_access(const struct security_token *nt_token,
const struct security_unix_token *unix_token,
uint32_t *pacc_requested);
+
+#endif /* _RPC_SERVER_SRV_ACCESS_CHECK_H_ */