Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / metadata / mono-security-windows-internals.h
1 /**
2  * \file
3  * Copyright 2016 Microsoft
4  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
5  */
6 #ifndef __MONO_METADATA_MONO_SECURITY_WINDOWS_INTERNALS_H__
7 #define __MONO_METADATA_MONO_SECURITY_WINDOWS_INTERNALS_H__
8
9 #include <config.h>
10 #include <glib.h>
11
12 #ifdef HOST_WIN32
13 #include "mono/metadata/security.h"
14 #include "mono/metadata/object.h"
15 #include "mono/metadata/object-internals.h"
16 #include "mono/metadata/metadata.h"
17 #include "mono/metadata/metadata-internals.h"
18
19 gint32
20 mono_security_win_get_token_name (gpointer token, gunichar2 ** uniname);
21
22 gboolean
23 mono_security_win_is_machine_protected (gunichar2 *path);
24
25 gboolean
26 mono_security_win_is_user_protected (gunichar2 *path);
27
28 gboolean
29 mono_security_win_protect_machine (gunichar2 *path);
30
31 gboolean
32 mono_security_win_protect_user (gunichar2 *path);
33 #endif /* HOST_WIN32 */
34
35 #endif /* __MONO_METADATA_MONO_SECURITY_WINDOWS_INTERNALS_H__ */